Keyoti SearchUnit API Docs
GetMatchingDocumentsForPhrase Method (words, cumulativeWeights, searchOptions, loadOccurrenceData, objDocOc, phrase, ignoredWords)
API DocumentationKeyoti.SearchEngine.SearchSearcherIOGetMatchingDocumentsForPhrase(array<LexiconMatch>[]()[][], IntHashtable, SearchOptions, Boolean, Hashtable, PhraseElement, StringList)
Keyoti SearchUnit v6
Finds documents that match a phrase
Declaration Syntax
C#Visual Basic
public virtual IntList GetMatchingDocumentsForPhrase(
	LexiconMatch[] words,
	IntHashtable cumulativeWeights,
	SearchOptions searchOptions,
	bool loadOccurrenceData,
	Hashtable objDocOc,
	PhraseElement phrase,
	StringList ignoredWords
)
Public Overridable Function GetMatchingDocumentsForPhrase ( 
	words As LexiconMatch(),
	cumulativeWeights As IntHashtable,
	searchOptions As SearchOptions,
	loadOccurrenceData As Boolean,
	objDocOc As Hashtable,
	phrase As PhraseElement,
	ignoredWords As StringList
) As IntList
Parameters
words (array<LexiconMatch>[]()[][])
Array of words in the phrase
cumulativeWeights (IntHashtable)
Weights of the matched terms
searchOptions (SearchOptions)
Options to restrict the search
loadOccurrenceData (Boolean)
Whether to load occurrence data
objDocOc (Hashtable)
Store of occurrence data
phrase (PhraseElement)
The phrase
ignoredWords (StringList)
List of words which have been ignored as stop words
Return Value
IntList
Matching document IDs.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610