You are here: C++ API > Enumerations > WordListBuilderFlags Enumeration
Close
dtSearch Text Retrieval Engine Programmer's Reference
WordListBuilderFlags Enumeration

File: dtsearch.h

Syntax
C++
enum WordListBuilderFlags { dtsWordListEnableFieldValuesCache = 1, dtsWordListPadTopOfList = 2 };
Members
Description
dtsWordListEnableFieldValuesCache = 1
Enable caching of field values in a WordListBuilder for faster ListFieldValues calls
dtsWordListPadTopOfList = 2
When using ListWords(), pad the top of the list with blank entries if there are not enough words before the searched word in the index. For example, after a call to ListWords("0", 5), if "0" (zero) is the first word in the index, then five blank words will be added to the top of the generated list. dtsWordListPadTopOfList only affects calls to WordListBuilder.ListWords().

Values for WordListBuilder.SetFlags

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