Class SearchAfterOptions
Options for Searching After. Used for efficent deep paging.
public class SearchAfterOptions
- Inheritance
-
SearchAfterOptions
- Inherited Members
Constructors
SearchAfterOptions(int, float, object[]?, int)
Constructor
public SearchAfterOptions(int documentId, float documentScore, object[]? fields, int shardIndex)
Parameters
documentId
intThe Id of the last document in the previous result set. The search will search after this document
documentScore
floatThe Score of the last document in the previous result set. The search will search after this document
fields
object[]Search fields. Should contain null or J2N.Int
shardIndex
intThe index of the shard the doc belongs to
Properties
DocumentId
The Id of the last document in the previous result set. The search will search after this document
public int DocumentId { get; }
Property Value
DocumentScore
The Score of the last document in the previous result set. The search will search after this document
public float DocumentScore { get; }
Property Value
Fields
Search fields. Should contain null or J2N.Int
public object[]? Fields { get; }
Property Value
- object[]
ShardIndex
The index of the shard the doc belongs to
public int? ShardIndex { get; }
Property Value
- int?