Table of Contents

Class SearchAfterOptions

Namespace
Examine.Lucene.Search
Assembly
Examine.Lucene.dll

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 int

The Id of the last document in the previous result set. The search will search after this document

documentScore float

The 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 int

The 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

int

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

float

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?