Quick Index Mapping and Field Options
- Capella Operational
- reference
When you create a Search index with Quick Mode in the Capella UI, you must set options for each field or type mapping you add to the index.
You can create the following types of type mappings in Quick Mode:
Indexing an entire collection in Quick Mode creates a dynamic type mapping for that collection. Indexing a field creates a static type mapping for the parent collection. For more information about static and dynamic type mappings, see Search Index Features. |
For more information about how to create a Search index with Quick Mode, see Create a Search Index in Quick Mode.
Quick Collection Type Mapping Options
Configure an entire collection in Quick Mode to add or remove all documents in that collection from your Search index.
You can configure the following settings in Quick Mode for a type mapping that uses an entire collection:
Option | Description |
---|---|
Index everything from collection: “$COLLECTION_NAME” |
You must select Index everything from collection to add a collection type mapping in Quick Mode. |
Index text fields as identifiers |
To index any Text type fields with the keyword analyzer, select Index text fields as identifiers. To use other analyzers or settings on text fields, clear Index text fields as identifiers. For more information about analyzers, see Search Index Features. |
Analyzer/Language |
Select the language for the content inside any Text fields. The Search Service automatically applies an analyzer to the field’s contents based on the selected language. For more information about the available language options, see Quick Mode Supported Languages. |
Quick Field Type Mapping Options
Configure a single field in Quick Mode to add or remove it from your Search index.
You can configure the following settings in Quick Mode for a type mapping that uses a single field:
Option | Description | ||
---|---|---|---|
Index this field as an identifier (Text Fields Only) |
To index this field with the keyword analyzer, select Index this field as an identifier. To use other analyzers or settings on this text field, clear Index this field as an identifier. For more information about analyzers, see Search Index Features. |
||
Language (Text Fields Only) |
Select the language for the content inside a text field. The Search Service automatically applies an analyzer to the field’s contents based on the selected language. For more information about the available language options, see Quick Mode Supported Languages. |
||
Dimension (Vector Fields Only) |
For a From Couchbase Server version 7.6.2 and later, Vector Search indexes can support arrays with up to 4096 elements. Arrays can be an array of arrays. For more information about Vector Search indexes, see Use Vector Search for AI Applications or Create a Vector Search Index in Quick Mode. |
||
Similarity Metric (Vector Fields Only) |
For a
For more information about Vector Search indexes, see Use Vector Search for AI Applications or Create a Vector Search Index in Quick Mode. |
||
Optimized For (Vector Fields Only) |
For a
For more information about Vector Search indexes, see Use Vector Search for AI Applications or Create a Vector Search Index in Quick Mode. |
||
Include in search results |
To include content from the field in search results, select Include in search results. To exclude the field’s content from search results, clear Include in search results. |
||
Support highlighting |
The Search Service can highlight matching search terms in search results from an index. To enable highlighting in search results, select Support highlighting. To turn off highlighting in search results, clear Support highlighting.
|
||
Support phrase matching |
To support searches for whole phrases, select Support phrase matching. To turn off phrase matching, clear Support phrase matching. |
||
Support field agnostic search |
To search the field’s contents without specifying the field name in a search query, select Support field agnostic search. To turn off field agnostic search, clear Support field agnostic search. |
||
Support sorting and faceting |
To sort search results and use facets with the field’s contents, select Support sorting and faceting. To turn off sorting and facets, clear Support sorting and faceting. |
||
Searchable As |
Set a different name that you can use to search the field’s contents in a query. The default value is the field’s name. |