SearchOptions

SearchOptions class

Provides options for search operation.

public class SearchOptions

Constructors

Name Description
SearchOptions() Initializes a new instance of the SearchOptions class.

Properties

Name Description
Cancellation { get; set; } Gets or sets the operation cancellation object. The default value is null.
DateFormats { get; } Gets the collection of date formats for date range search. The default date formats are ‘dd.MM.yyyy’, ‘MM/dd/yyyy’, and ‘yyyy-MM-dd’.
FuzzySearch { get; } Gets the fuzzy search options.
IsChunkSearch { get; set; } Gets or sets the flag of search by chunks. The default value is false.
KeyboardLayoutCorrector { get; } Gets the keyboard layout corrector options.
MaxOccurrenceCountPerTerm { get; set; } Gets or sets the maximum number of occurrences of each term in a search query. The default value is 100000.
MaxTotalOccurrenceCount { get; set; } Gets or sets the maximum total number of occurrences of all terms in a search query. The default value is 500000.
RetrieveAttributes { get; set; } Gets or sets the flag of retrieving attributes associated with found documents. The default value is false.
SearchDocumentFilter { get; set; } Gets or sets the search document filter. SearchDocumentFilter works on the inclusion logic. Use SearchDocumentFilter class for creation of a search document filter instances. The default value is null, which means that all found documents will be returned.
SpellingCorrector { get; } Gets the spelling corrector options.
UseCaseSensitiveSearch { get; set; } Gets or sets the flag of case sensitive search. The default value is false.
UseHomophoneSearch { get; set; } Gets or sets the flag of use homophones in search. The default value is false.
UseSynonymSearch { get; set; } Gets or sets the flag of use synonyms in search. The default value is false.
UseWordFormsSearch { get; set; } Gets or sets the flag of use different word forms in search. The default value is false.

Remarks

Learn more

See Also