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

Specify the string value to use when sorting search results.

void setSortKey(long iItem, const char * key);
Remarks

When sort() is called with the dtsSortBySortKey flag, the search results list will be sorted according the value set, for each item in search results, using setSortKey. SetSortKey is useful when the sort must be done based on a computed combination of more than one field.

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