dtSearch Text Retrieval Engine .NET interface

SearchFlags Enumeration

Values for SearchJob.SearchFlags and WordListBuilder.ListMatchingWords

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum SearchFlags

Remarks

Synonym searching: to enable synonym searching for all words in a search request, set both dtsSearchSynonyms and one of the other synonym flags such as dtsSearchUserSynonyms, to specify the type of synonym searching to perform. If dtsSearchSynonyms is not set, then only words marked with the synonym searching character & will be expanded.

Members

Member NameDescriptionValue
dtsSearchApplyLanguageAnalyzer Apply Language Analyzer to search request, if this application uses an external language analyzer (see "Language Analyzer API") 2097152
dtsSearchPositionalScoring Rank documents higher when hits are closer to the top of the document and when hits are located close to each other within a document. (This improves relevancy ranking for "all words" and "any words" searches.) 1048576
dtsSearchSelectMostRecent When selecting the documents to return (up to the MaxFilesToRetrieve limit in the SearchJob), select the most recent documents rather than the best-matching documents. Cannot be used with dtsSearchDelayDocInfo, because the document date for each document is needed. 524288
dtsSearchTypeAnyWords Find any of the words in the search request 262144
dtsSearchTypeAllWords Find all of the words in the search request 131072
dtsSearchAutoTermWeight Apply the automatic term weighting to each term in the request. Weighting of retrieved documents takes into account: the number of documents each word in your search request appears in (the more documents a word appears in, the less useful it is in distinguishing relevant from irrelevant documents); the number of times each word in the request appears in the documents; and the density of hits in each document. Noise words and search connectors like NOT and OR are ignored. 65536
dtsSearchWantHitDetails Request detailed information about the words that generated each hit associated with an item in search results. 32768
dtsSearchRegularExpression Interpret the search request as a regular expression 16384
dtsSearchExternalSynonyms Search for synonyms in an external thesaurus (see External Thesaurus API) 8192
dtsSearchDelayDocInfo Optimize search by waiting until document records are requested through a search results object before reading them from the index. 4096
dtsSearchWantHitsArray Include word offsets of hits in HitsByWord report. 2048
dtsSearchWantHitsByWord Request a list of the words that were matched in each document in SearchResultsItem.HitsByWord 256
dtsSearchWordNetRelated When expanding synonyms, use related words from WordNet. (See synonym searching note above.) 128
dtsSearchWordNetSynonyms When expanding synonyms, use WordNet thesaurus. (See synonym searching note above.) 64
dtsSearchUserSynonyms When expanding synonyms, use user thesaurus. (See synonym searching note above.) 32
dtsSearchSynonyms Enable synonym expansion for all words in the search request. (See synonym searching note above.) 16
dtsSearchNatural Equivalent to dtsSearchTypeAnyWords | dtsSearchAutoTermWeight.| dtsSearchPositionalScoring 8
dtsSearchStemming Enable stemming for all words in the search request 4
dtsSearchPhonic Enable phonic searching for all words in the search request 2
dtsSearchFuzzy Enable fuzzy searching for all words in the search request 1

Requirements

Namespace: dtSearch.Engine

Assembly: dtSearchNetApi (in dtSearchNetApi.dll)

See Also

dtSearch.Engine Namespace