Gets an OccurrenceMap for a word.
Declaration Syntax
C# | Visual Basic | Visual C++ |
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
public: virtual OccurrenceMapIWordPositions^ GetMatchingDocumentsForWord( LexiconMatch^ word, IntHashtable^ cumulativeWeights, SearchOptions^ searchOptions, bool loadOccurrenceData )
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
All occurrences of word (or words in variations) that match.