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.
| Type | Construction | Principal operations |
|---|---|---|
btree_index | CREATE | INSERT, DELETE, SEARCH, RANGE |
hash_index | CREATE | ADD, REMOVE, LOOKUP |
radix_tree | CREATE | INSERT, EXACT, PREFIX |
trie | CREATE | INSERT, EXACT, PREFIX |
inverted_index | CREATE | INDEX, REMOVE, SEARCH |
hnsw_index | CREATE | ADD, REMOVE, SEARCH |
flat_vector_index | CREATE | ADD, REMOVE, SEARCH, LEN |
geospatial_secondary_index | CREATE | ADD, REMOVE, RADIUS, BOX, POLYGON |
secondary_index | CREATE | ADD, LOOKUP |
full_text_document | CREATE | ADD_TEXT, ADD_TAG, ADD_NUMERIC, GET, SNAPSHOT |
tag_field | CREATE | SET, GET |
numeric_field | CREATE | SET, GET |
text_field | CREATE | SET, GET |