Class SuggestionSearch¶
Defined in File suggestion.h
Class Documentation¶
-
class SuggestionSearch¶
A SuggestionSearch represent a particular suggestion search, based on a
SuggestionSearcher
.Public Functions
-
SuggestionSearch(SuggestionSearch &&s)¶
-
SuggestionSearch &operator=(SuggestionSearch &&s)¶
-
~SuggestionSearch()¶
-
const SuggestionResultSet getResults(int start, int maxResults) const¶
Get a set of results for this search.
- Parameters:
start – The begining of the range to get (offset of the first result).
maxResults – The maximum number of results to return (offset of last result from the start of range).
-
int getEstimatedMatches() const¶
Get the number of estimated results for this suggestion search.
As the name suggest, it is a estimation of the number of results.
-
SuggestionSearch(SuggestionSearch &&s)¶