Package com.ibm.cloud.cloudant.v1.model
Interface IndexAnalysisExclusionReason.Name
- Enclosing class:
IndexAnalysisExclusionReason
public static interface IndexAnalysisExclusionReason.Name
A reason code for index's exclusion.
The full list of possible reason codes is following:
* alphabetically_comes_after: json
There is another suitable index whose name comes before that of this index.
* empty_selector: text
"text" indexes do not support queries with empty selectors.
* excluded_by_user: any use_index was used to manually specify the index.
* field_mismatch: any Fields in "selector" of the query do match with the fields available in the index.
* is_partial: json, text Partial indexes can be selected only manually.
* less_overlap: json There is a better match of fields available within the indexes for the query.
* needs_text_search: json The use of the $text operator requires a "text" index.
* scope_mismatch: json The scope of the query and the index is not the same.
* sort_order_mismatch: json, special Fields in "sort" of the query do not match with the fields available in the
index.
* too_many_fields: json The index has more fields than the chosen one.
* unfavored_type: any The type of the index is not preferred.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
alphabetically_comes_after.static final String
empty_selector.static final String
excluded_by_user.static final String
field_mismatch.static final String
is_partial.static final String
less_overlap.static final String
needs_text_search.static final String
scope_mismatch.static final String
sort_order_mismatch.static final String
too_many_fields.static final String
unfavored_type.
-
Field Details
-
ALPHABETICALLY_COMES_AFTER
alphabetically_comes_after.- See Also:
-
EMPTY_SELECTOR
empty_selector.- See Also:
-
EXCLUDED_BY_USER
excluded_by_user.- See Also:
-
FIELD_MISMATCH
field_mismatch.- See Also:
-
IS_PARTIAL
is_partial.- See Also:
-
LESS_OVERLAP
less_overlap.- See Also:
-
NEEDS_TEXT_SEARCH
needs_text_search.- See Also:
-
SCOPE_MISMATCH
scope_mismatch.- See Also:
-
SORT_ORDER_MISMATCH
sort_order_mismatch.- See Also:
-
TOO_MANY_FIELDS
too_many_fields.- See Also:
-
UNFAVORED_TYPE
unfavored_type.- See Also:
-