What types of indexes does Couchbase support?

Couchbase supports the following types of indexes:

  1. Global Secondary Index (GSI): Accessible throughout the entire cluster, this index is used to quickly access and query data across all nodes.
  2. N1QL indexes: Used to support queries in the N1QL querying language, they can be created on specific fields using the CREATE INDEX statement.
  3. Custom index: Users can customize indexes and query execution plans to meet specific needs.
  4. Array index: used to index array fields for querying and manipulating array elements.
  5. Text index: used for performing full-text searches on text fields.
  6. Spatial indexing: used to index geographic spatial data in order to support geolocation-related queries and operations.
Leave a Reply 0

Your email address will not be published. Required fields are marked *


广告
Closing in 10 seconds
bannerAds