You are here: Symbol Reference
> dtSearch.Engine Namespace
> SearchFlags Enumeration
Close
dtSearch .NET Standard API 2021.02
dtSearch.Engine.SearchFlags Enumeration
Members
Description
dtsSearchFuzzy
Enable fuzzy searching for all words in the search request.
dtsSearchPhonic
Enable phonic searching for all words in the search request
dtsSearchStemming
Enable stemming for all words in the search request
dtsSearchNatural
dtsSearchSynonyms
Enable synonym expansion. See Synonym search settings. Use one or more of the flags dtsSearchUserSynonyms, dtsSearchWordNetSynonyms, or dtsSearchWordNetRelated to specify the type of synonym expansion to perform.
dtsSearchUserSynonyms
Enable synonym expansion using user-defined synonyms. See Synonym search settings. This flag must be used in combination with dtsSearchSynonyms to enable synonym searching.
dtsSearchWordNetSynonyms
Enable synonym expansion using WordNet related words. See Synonym search settings. This flag must be used in combination with dtsSearchSynonyms to enable synonym searching.
dtsSearchWordNetRelated
Enable synonym expansion using WordNet synonyms. See Synonym search settings. This flag must be used in combination with dtsSearchSynonyms to enable synonym searching.
dtsSearchAllSynonyms
Combines all synonym flags
dtsSearchWantHitsByWord
Request a list of the words that were matched in each document. See dtsSearchWantHitsByWord in the Overviews section. This flag must be used in combination with dtsSearchSynonyms to enable synonym searching.
dtsWlbListFields
In dtsWordListBuilder, include field names in the output.
dtsSearchWantHitsArray
Adds word offsets of individual hits to the hits by word report. See dtsSearchWantHitsByWord in the Overviews section.
dtsSearchDelayDocInfo
Optimize search by waiting until document records are requested through a search results object before reading them from the index. See dtsSearchDelayDocInfo in the Overviews section.
dtsSearchExternalSynonyms
Enable synonym expansion using an external thesaurus. See Synonym search settings.
dtsSearchWantHitDetails
Request detailed information about the words that generated each hit associated with an item in search results. See dtsSearchWantHitDetails in the Overviews section.
dtsSearchAutoTermWeight
Apply the automatic term weighting to each term in the request. See Relevance in the Overviews section.
dtsSearchTypeAllWords
Find all of the words in the search request. See "All words" and "Any words" Searches in the Overviews section.
dtsSearchTypeAnyWords
Find any of the words in the search request. See "All words" and "Any words" Searches in the Overviews section.
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. This flag cannot be used with dtsSearchDelayDocInfo, because the document date for each document is needed.
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. See Relevance in the Overviews section.
dtsSearchApplyLanguageAnalyzer
Apply Language Analyzer to search request, if this application uses an external language analyzer (see Language Analyzer API)
dtsSearchLanguageAnalyzerSynonyms
Use Language Analyzer to generate synonyms from terms in search request, if this application uses an external language analyzer (see Language Analyzer API)
dtsSearchFastSearchFilterOnly
When SearchJob.WantResultsAsFilter is true, only output search results information to the output search filter and do not create a SearchResults object or call the OnFound callback function when documents are found. This can make generation of a SearchFilter significantly faster.
dtsSearchWantHitsByWordOrdinals
Add ordinals to the dtsSearchWantHitsByWord output associating each term with a consistent integer value. This provides information needed when highlighting hits in multiple colors using dtsConvertMultiHighlight to make the mapping between search terms and colors consistent among all documents in search results.
dtsSearchRequireAccents
Require diacriticals to match when searching for words in an accent-optional index.
dtsSearchHyphenSignificant
In searches of indexes with the dtsoHyphenAll setting, treat hyphens as significant in search terms (so "abc-def" will not find "abc def")

Flags to control searches

Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.