See Also
dtSearch Text Retrieval Engine -- .NET API (.NET 2.0-4.0) 7.70
WordListBuilder::GetNthWordCount Method

Get the number of times this word occurs in the index

C#
public long GetNthWordCount(long whichWord);
Visual Basic
Public Function GetNthWordCount(whichWord As long) As long
Parameters
Parameters 
Description 
whichWord 
Number from 0 to Count-1 indicating which word to get 
Returns

Number of times this word was found in all documents in this index. 

Note: To make WordListBuilder fast, it does not actually enumerate all of the references for each word, so in some cases the count can include artifacts of the indexing process such as removed or reindexed documents, which can make the reported count higher than the actual count in the index. Compressing an index will eliminate these extra references.

See Also
You are here: dtSearch::Engine Namespace > WordListBuilder Class > WordListBuilder Methods > GetNthWordCount Method
Copyright (c) 1998-2012 dtSearch Corp. All rights reserved.