Click or drag to resize
IFulltextQueryOptionsTDocument Interface
Provides methods to set the options for a query.

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax
public interface IFulltextQueryOptions<TDocument>

Type Parameters

TDocument
The type of document to set options for.

The IFulltextQueryOptionsTDocument type exposes the following members.

Methods
  NameDescription
Public methodBooleanSimplify
Sets a value whether to simplify boolean expressions in a query. Supported with Sphinx 2.1.1 and up.
Public methodComment
Sets a comment the for the query.
Public methodCutOff
Sets a threshold on how many found matches to process.
Public methodFieldWeight(String, Int32)
Sets a weight for the field with the given name.
Public methodFieldWeightTField(ExpressionFuncTDocument, TField, Int32)
Sets a weight for the selected field.
Public methodIdf
Determines the way the IDF (Inverse Document Frequency) is calculated. Supported with Sphinx 2.1.1 and up.
Public methodIgnoreNonexistentIndexes
Sets a value whether to ignore non-existent indexes for the query. Supported with Sphinx 2.1.1 and up.
Public methodIndexWeight
Sets a weight for the index with the given name.
Public methodMaxMatches
Sets the maximum number of matches for a query.
Public methodMaxPredictedQueryTime
Sets the maximum predicted time for a query. Supported with Sphinx 2.1.1 and up.
Public methodMaxQueryTime
Set the maximum execution time for a query.
Public methodRandSeed
Sets a specific seed value for an OrderBy(x => Function.Rand()) query.
Public methodRanker
Sets the ranker to use for this query.
Public methodRetryCount
The number of retries for a distributed query.
Public methodRetryDelay
The delay between retries for a distributed query.
Public methodReverseScan
Sets a value whether to use a reverse scan for a full-scan query.
Public methodSortMethod
Sets the sort method for the query. Supported with Sphinx 2.1.1 and up.
Public methodTfIdf
Determines the way the tf-idf (Term Frequency–Inverse Document Frequency) is calculated. Supported with Sphinx 2.2.1 and up.
Public methodUseGlobalIdf
Sets a value indicating whether to use global statistics (frequencies) from the global_idf file for IDF computations, rather than the local index statistics. Supported with Sphinx 2.1.1 and up.
Top
Thread Safety
Instance members of this type are not safe for multi-threaded operations.
See Also