Show / Hide Table of Contents

Class RedisQuery

A query to redis.

Inheritance
System.Object
RedisQuery
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Searching.Query
Assembly: Redis.OM.dll
Syntax
public sealed class RedisQuery

Constructors

| Improve this Doc View Source

RedisQuery(String)

Initializes a new instance of the RedisQuery class. An object to facilitate the Raw Redis query.

Declaration
public RedisQuery(string index)
Parameters
Type Name Description
System.String index

Name of the Index to query.

Properties

| Improve this Doc View Source

Filter

Gets or sets the filter.

Declaration
public RedisFilter Filter { get; set; }
Property Value
Type Description
RedisFilter
| Improve this Doc View Source

Flags

Gets or sets the flags for the query options.

Declaration
public long Flags { get; set; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

GeoFilter

gets or sets the geofilter.

Declaration
public RedisGeoFilter GeoFilter { get; set; }
Property Value
Type Description
RedisGeoFilter
| Improve this Doc View Source

Index

Gets or sets the index to query.

Declaration
public string Index { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Limit

Gets or sets the limit.

Declaration
public SearchLimit Limit { get; set; }
Property Value
Type Description
SearchLimit
| Improve this Doc View Source

QueryText

Gets or sets the query text.

Declaration
public string QueryText { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Return

gets or sets the items to return.

Declaration
public ReturnFields Return { get; set; }
Property Value
Type Description
ReturnFields
| Improve this Doc View Source

SortBy

gets or sets the items to sort by.

Declaration
public RedisSortBy SortBy { get; set; }
Property Value
Type Description
RedisSortBy
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX