The SphinxSearchOptions type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
SphinxSearchOptions |
Initializes a new instance of the SphinxSearchOptions class.
|
Methods
| Name | Description | |
|---|---|---|
|
|
Equals | (Inherited from Object.) |
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
|
ResetFilters |
Resets all filters which were added via one of the SetFilter() or SetFilterRange() methods
and SetGeoAnchor(String, String, Single, Single).
|
|
|
ResetOverrides |
Resets all overrides.
|
|
|
SetDocumentIdRange |
Sets the mininum and maximum ids for a document to be matched.
|
|
|
SetFieldWeight |
Sets a weight for the field with the given name. If a weight for the field has previously
been set, it will be overwritten.
|
|
|
SetFilter | Overloaded. |
|
|
SetFilterRange | Overloaded. |
|
|
SetGeoAnchor |
Sets an anchor point for geosphere distance calculations.
|
|
|
SetIndexWeight |
Sets a weight for the index with the given name. If a weight for the index has previously
been set, it will be overwritten.
|
|
|
SetOverride<(Of <(TOverridable>)>) |
Sets the override values for an attribute. If values for the attribute have previously
been set, they will be overwritten.
|
|
|
ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
|
|
Cutoff |
Gets or sets the cutoff, i.e. searchd will stop processing results after the
specified number of matches have been processed. Default is 0, which means
not to cut off results.
|
|
|
DistributedRetryCount |
Gets or sets the distributed retry count.
|
|
|
DistributedRetryDelay |
Gets or sets the distributed retry delay.
|
|
|
GroupBy |
Gets or sets the attribute to group by.
|
|
|
GroupByFunction |
Gets or sets the group by function. Default is Day.
|
|
|
GroupDistinct |
Gets or sets the group distinct attribute.
|
|
|
GroupSort |
Gets or sets the group sort clause. Default is @group desc.
|
|
|
Limit |
Gets or sets a limit for the number of matches to return from searchd. Default is 20.
|
|
|
MatchMode |
Gets or sets the match mode. Default is All.
|
|
|
MaxDocumentId |
Gets or sets the maximum id for a document to be matched. Default is 0.
|
|
|
MaxMatches |
Gets or sets the maximum number of documents that searchd will match. Default is 1000.
|
|
|
MaxQueryTime |
Gets or sets the maximum time for a query. This value is applied per index.
Default is MaxValue which means no limit.
|
|
|
MinDocumentId |
Gets or sets the mininum Id for a document to be matched. Default is 0.
|
|
|
Offset |
Gets or sets the offset from which to return results from searchd.
|
|
|
RankMode |
Gets or sets the rank mode. Default is None
|
|
|
Select |
Gets or sets the select clause. Default is "*";
|
|
|
SortBy | |
|
|
SortMode |
Gets or sets the sort mode. Default is Relevance.
|