Click or drag to resize

QueryFlags Class

Additional query flags. Supported with Sphinx 2.1.1 and up.
Inheritance Hierarchy
SystemObject
  SphinxConnector.NativeApiQueryFlags

Namespace:  SphinxConnector.NativeApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public class QueryFlags

The QueryFlags type exposes the following members.

Constructors
  NameDescription
Public methodQueryFlags
Initializes a new instance of the QueryFlags class.
Top
Properties
  NameDescription
Public propertyBooleanSimplify
Gets or sets a value indicating whether to simplify boolean expressions in queries. Default is false.
Public propertyIdf
Determines the way the IDF (Inverse Document Frequency) is calculated. Default is Normalized.
Public propertyMaxPredictedQueryTime
Gets or sets the maximum predicted time for a query. This value is applied per index. Default is MaxValue which means no limit.
Public propertyReverseScan
Gets or sets a value whether to the order in which full-scan query processes the rows. Default is false.
Public propertySortMethod
Gets or sets the sort method to use for a query. Default is PriorityQueue.
Public propertyTfIdf
Determines the calculation method Sphinx uses for the tf–idf (term frequency–inverse document frequency). Default is Normalized. Supported with Sphinx 2.2.1 and up.
Public propertyUseGlobalIdf
Gets or sets a value indicating whether to use global statistics (frequencies) from the global_idf file for IDF computations, rather than the local index statistics.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also