nn::nex::DataStoreSearchParam::SetResultRange Member Function

Syntax

void SetResultRange(
     const ResultRange & resultRange
);

Parameters

Name Description
in resultRange Search range.

Return Values

None.

Description

Sets the search range.

The default is ResultRange(). The maximum number of search results to get that can be specified with this function is DataStoreConstants::MAX_SEARCH_RESULT_SIZE.

If you set RESULTRANGE_ANY_OFFSET, the search results will be in quasi-random order, based on what is being sorted and the order in which it is being sorted. In this case, the maximum number of search results that can be specified is DataStoreConstants::MAX_SEARCH_ANY_RESULT_SIZE.

Revision History

2013/03/05
Enabled the setting of RESULTRANGE_ANY_OFFSET.
2011/01/27
Initial version.

CONFIDENTIAL