You are here: Symbol Reference
> dtSearch.Engine Namespace
> WordListBuilder Class
> WordListBuilder Methods
> GetNthWordDocCount Method
dtSearch .NET Standard API 2021.02
WordListBuilder.GetNthWordDocCount Method

Get the number of documents in which this word occurs

public int GetNthWordDocCount( int whichWord );
Number from 0 to Count-1 indicating which word to get

Number of documents in which this word occurs. 

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.

Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.