Keyoti SearchUnit API Docs
GetMatchingDocumentsAndOccurrencesForWord Method (word, variations, cumulativeWeights, searchOptions, loadOccurrenceData)
API DocumentationKeyoti.SearchEngine.DataAccessXmlDataAccessGetMatchingDocumentsAndOccurrencesForWord(String, ArrayList, Hashtable, SearchOptions, Boolean)
Keyoti SearchUnit v6
Gets an OccurrenceMap for a word.
Declaration Syntax
C#Visual Basic
[ObsoleteAttribute("Please use new method OccurrenceMap GetMatchingDocumentsAndOccurrencesForWord(LexiconQuery word, WordCollection variations, Hashtable cumulativeWeights, SearchOptions searchOptions,  bool loadOccurrenceData) instead.", 
	true)]
public virtual OccurrenceMapIWordPositions GetMatchingDocumentsAndOccurrencesForWord(
	string word,
	ArrayList variations,
	Hashtable cumulativeWeights,
	SearchOptions searchOptions,
	bool loadOccurrenceData
)
<ObsoleteAttribute("Please use new method OccurrenceMap GetMatchingDocumentsAndOccurrencesForWord(LexiconQuery word, WordCollection variations, Hashtable cumulativeWeights, SearchOptions searchOptions,  bool loadOccurrenceData) instead.", 
	true)> 
Public Overridable Function GetMatchingDocumentsAndOccurrencesForWord ( 
	word As String,
	variations As ArrayList,
	cumulativeWeights As Hashtable,
	searchOptions As SearchOptions,
	loadOccurrenceData As Boolean
) As OccurrenceMapIWordPositions
Parameters
word (String)
Word to find occurrences of.
variations (ArrayList)
List of variations (lemmas) for the word.
cumulativeWeights (Hashtable)
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
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