You are here: C++ API > Classes > dtsWordListBuilder Class > dtsWordListBuilder::getField Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsWordListBuilder::getField Method

Get the name of the field a word occurs in.

Syntax
C++
void getField(long iWord, char * buf, long bufSize);
Parameters
Description
long iWord
The item in the list
char * buf
Buffer to receive the field
long bufSize
Size of the buffer pointed to by buf

getField() only works when listMatchingWords was called with the dtsWlbListFields flag set in searchFlags

Copyright (c) 1995-2025 dtSearch Corp. All rights reserved.