Tiered Index

View as Markdown

Source header: cuvs/neighbors/tiered_index.hpp

Types

neighbors::tiered_index::index

Tiered Index class

template <typename UpstreamT>
struct index : cuvs::neighbors::index {
std::shared_ptr<detail::index_state<UpstreamT>> state;
std::mutex write_mutex;
mutable std::shared_mutex ann_mutex;
};

Fields

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