Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsWordListBuilder::listMatchingWords Method

List all words matching an expression

Syntax
C++
void listMatchingWords(const char * toMatch, long maxWords, long searchFlags, long fuzziness);
Parameters
Description
const char * toMatch
The expression to match, which may include wildcards
long maxWords
Maximum number of words to include in the list
long searchFlags
SearchFlags values indicating how to match the words
long fuzziness
If searchFlags includes dtsSearchFuzzy, the level of fuzziness

toMatch can include a field name to limit the search to words in a particular field.

name::abc* would match any word beginning with abc in the name field.