Skip to content

Indexes and search

Index/search types provide exact, range, prefix, full-text, vector, and secondary lookup paths.

See Type construction and operations for request contracts and implementation notes covering B-tree splits/rebuilds, byte-wise radix traversal, tokenization/ranking, and explicit index maintenance. Index objects are not updated automatically when another key changes.

TypeConstructionPrincipal operations
btree_indexCREATEINSERT, DELETE, SEARCH, RANGE
hash_indexCREATEADD, REMOVE, LOOKUP
radix_treeCREATEINSERT, EXACT, PREFIX
trieCREATEINSERT, EXACT, PREFIX
inverted_indexCREATEINDEX, REMOVE, SEARCH
hnsw_indexCREATEADD, REMOVE, SEARCH
flat_vector_indexCREATEADD, REMOVE, SEARCH, LEN
geospatial_secondary_indexCREATEADD, REMOVE, RADIUS, BOX, POLYGON
secondary_indexCREATEADD, LOOKUP
full_text_documentCREATEADD_TEXT, ADD_TAG, ADD_NUMERIC, GET, SNAPSHOT
tag_fieldCREATESET, GET
numeric_fieldCREATESET, GET
text_fieldCREATESET, GET