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 SourceRedisQuery(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 SourceFilter
Gets or sets the filter.
Declaration
public RedisFilter Filter { get; set; }
Property Value
Type | Description |
---|---|
RedisFilter |
Flags
Gets or sets the flags for the query options.
Declaration
public long Flags { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
GeoFilter
gets or sets the geofilter.
Declaration
public RedisGeoFilter GeoFilter { get; set; }
Property Value
Type | Description |
---|---|
RedisGeoFilter |
Index
Gets or sets the index to query.
Declaration
public string Index { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Limit
Gets or sets the limit.
Declaration
public SearchLimit Limit { get; set; }
Property Value
Type | Description |
---|---|
SearchLimit |
QueryText
Gets or sets the query text.
Declaration
public string QueryText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Return
gets or sets the items to return.
Declaration
public ReturnFields Return { get; set; }
Property Value
Type | Description |
---|---|
ReturnFields |
SortBy
gets or sets the items to sort by.
Declaration
public RedisSortBy SortBy { get; set; }
Property Value
Type | Description |
---|---|
RedisSortBy |