Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsWordListBuilder::sort Method
dtsWordListBuilder Class | dtsWordListBuilder Class | Send Feedback

Sort words in the WordListBuilder

bool sort(long sortFlags);
Parameters
Parameters 
Description 
long sortFlags 
SortFlags values specifying the type of sort to perform 
Remarks

The following sortFlags are supported: dtsSortByWord, and dtsWortByDocCount. Use dtsSortAscending to specify ascending order. Otherwise the sort will be in descending order. 

Sort() only works with ListFieldValues and ListMatchingWords.

Class
Links
You are here: C++ API > Classes > dtsWordListBuilder Class > dtsWordListBuilder::sort Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.