You cannot use the CBR optimization SQL option CBR_DYNAMIC_THRESHOLD in a SQL statement when you use a merged scope search and ordering by rank unless one or more object stores included in the search have their CBRQueryRankOverride property set to Required. In addition, you cannot use the CBR_DB_FIRST SQL option for this type of query.

Namespace:  FileNet.Api.Exception
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Shared ReadOnly RETRIEVE_OPTIMIZED_SEARCH_INVALID_MERGED_SCOPE_RANK_ORDER As ExceptionCode
C#
public static readonly ExceptionCode RETRIEVE_OPTIMIZED_SEARCH_INVALID_MERGED_SCOPE_RANK_ORDER
Visual C++
public:
static initonly ExceptionCode^ RETRIEVE_OPTIMIZED_SEARCH_INVALID_MERGED_SCOPE_RANK_ORDER
JavaScript
FileNet.Api.Exception.ExceptionCode.retrievE_OPTIMIZED_SEARCH_INVALID_MERGED_SCOPE_RANK_ORDER

ToggleSee Also