Table of Contents

Class QueryOptions

Namespace
Examine.Search
Assembly
Examine.Core.dll

Represents options for querying

public class QueryOptions
Inheritance
QueryOptions
Derived
Inherited Members

Constructors

QueryOptions(int, int?)

public QueryOptions(int skip, int? take = null)

Parameters

skip int
take int?

Fields

DefaultMaxResults

The default maximum ammount of results

public const int DefaultMaxResults = 500

Field Value

int

Properties

Default

Creates a default QueryOptions

public static QueryOptions Default { get; }

Property Value

QueryOptions

Skip

The number of documents to skip in the result set.

public int Skip { get; }

Property Value

int

Take

The number of documents to take in the result set.

public int Take { get; }

Property Value

int

Methods

SkipTake(int, int?)

Creates a QueryOptions with the specified parameters

public static QueryOptions SkipTake(int skip, int? take = null)

Parameters

skip int
take int?

Returns

QueryOptions