Tiered Index

View as Markdown

Source header: cuvs/neighbors/tiered_index.hpp

Types

neighbors::tiered_index::index

Tiered Index class

1template <typename UpstreamT>
2struct index : cuvs::neighbors::index {
3 std::shared_ptr<detail::index_state<UpstreamT>> state;
4 std::mutex write_mutex;
5 mutable std::shared_mutex ann_mutex;
6};

Fields

NameTypeDescription
statestd::shared_ptr<detail::index_state<UpstreamT>>
write_mutexstd::mutex
ann_mutexmutable std::shared_mutex