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: 5.3.0
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(SphinxRankMode)
Sets the ranker to use for this query.
Public methodRanker(SphinxRankMode, String)
Sets the ranker to use for this query.
Public methodRankFields
Sets the fields that are processed when computing ranking factors. Supported with Sphinx 3.1.1
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 methodSet
Sets the option with the given name to the given value. Use this in case a new option has been added to Sphinx, but is not yet supported by the fluent API.
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 methodThreads
Sets how many threads a query can use. Supported with Manticore 3.5.2 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