Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsWordListBuilder::getWord Method (long, char *, long, long&)
getWord Method | dtsWordListBuilder Class | Send Feedback

Get the text of one word in the list

void getWord(long iWord, char * buf, long bufSize, long& count);
Parameters
Parameters 
Description 
long iWord 
The word to get 
char * buf 
Buffer to receive the text 
long bufSize 
Size of the buffer pointed to by buf 
long& count 
[Output] Number of times the word occurs in the index
Note: To make WordListBuilder fast, it does not actually enumerate all of the references for each word, so in some cases the counts can include artifacts of the indexing process such as removed or reindexed documents, which can make the reported counts higher than the actual counts in the index. Compressing an index will eliminate these extra references. 
Group
Links
You are here: C++ API > Classes > dtsWordListBuilder Class > getWord Method > dtsWordListBuilder::getWord Method (long, char *, long, long&)
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.