Keyoti SearchUnit API Docs
GetMatchingDocumentsForWord Method (word, cumulativeWeights, searchOptions, loadOccurrenceData)
API DocumentationKeyoti.SearchEngine.SearchSearcherIOGetMatchingDocumentsForWord(LexiconMatch, IntHashtable, SearchOptions, Boolean)
Keyoti SearchUnit v6
Gets an OccurrenceMap for a word.
Declaration Syntax
C#Visual Basic
public virtual OccurrenceMapIWordPositions GetMatchingDocumentsForWord(
	LexiconMatch word,
	IntHashtable cumulativeWeights,
	SearchOptions searchOptions,
	bool loadOccurrenceData
)
Public Overridable Function GetMatchingDocumentsForWord ( 
	word As LexiconMatch,
	cumulativeWeights As IntHashtable,
	searchOptions As SearchOptions,
	loadOccurrenceData As Boolean
) As OccurrenceMapIWordPositions
Parameters
word (LexiconMatch)
Word to find occurrences of.
cumulativeWeights (IntHashtable)
Table of weights for occurrences (key=docID, value=word's weight in that doc).
searchOptions (SearchOptions)
Search options.
loadOccurrenceData (Boolean)
Whether to load occurrence data into the match
Return Value
OccurrenceMapIWordPositions
All occurrences of word (or words in variations) that match.

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