Classic Editor Examples
Classic Editor
A classic editor is an advanced tool where users can directly configure the index mapping.
To quickly become familiarized with the Search service, try one of the step by step index creation (and query) examples against the travel-sample sample dataset:
-
Collections
-
Creating a One Field Index via the UI (or via the REST API), followed by a sample Search query.
-
Creating a Dynamic Index via the UI (or via the REST API), followed by a sample Search query.
-
Creating a Geopoint Index via the UI (or via the REST API), followed by a sample Search query.
-
-
Bucket Compatibility
-
Creating a Legacy Index via the UI (or via the REST API), followed by a sample Search query.
The above Legacy Index is used for compatibility after an upgrade from buckets to collections uses the old bucket style "default _mapping which only works on the default scope and _default collection where buckets are upgraded into. The preferred method as of version 7.0 is shown in Creating a Dynamic Index above.
-
For a more detailed explanation of the available index creation, including index creation by means of the Couchbase REST API, refer to Creating Search Indexes.
To install the travel-sample sample dataset, refer to Install Sample Buckets with the UI
.