Show / Hide Table of Contents

Class SearchResponse<T>

A strongly typed search response.

Inheritance
System.Object
SearchResponse<T>
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
Assembly: Redis.OM.dll
Syntax
public class SearchResponse<T>
Type Parameters
Name Description
T

The type.

Constructors

| Improve this Doc View Source

SearchResponse(RedisReply)

Initializes a new instance of the SearchResponse<T> class.

Declaration
public SearchResponse(RedisReply val)
Parameters
Type Name Description
RedisReply val

The response to use to initialize the Search Response.

Properties

| Improve this Doc View Source

DocumentCount

Gets or sets the number of documents found by the search.

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

Documents

Gets the documents.

Declaration
public IDictionary<string, T> Documents { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, T>
| Improve this Doc View Source

Item[String]

Gets a particular document by it's ID.

Declaration
public T this[string key] { get; }
Parameters
Type Name Description
System.String key

the key to use to look up.

Property Value
Type Description
T
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX