use std::collections::HashMap;
use crate::common::counter::hardware_counter::HardwareCounterCell;
use crate::common::types::{ScoredPointOffset, TelemetryDetail};
use crate::sparse::common::types::DimId;
use crate::segment::common::operation_error::OperationResult;
use crate::segment::data_types::query_context::VectorQueryContext;
use crate::segment::data_types::vectors::QueryVector;
use crate::segment::index::vector_index_base::VectorIndexRead;
use crate::segment::telemetry::VectorIndexSearchesTelemetry;
use crate::segment::types::{Filter, SearchParams};
#[derive(Debug)]
pub enum VectorIndexReadEnum {
}
impl VectorIndexReadEnum {
pub fn is_on_disk(&self) -> bool {
todo!()
}
pub fn populate(&self) -> OperationResult<()> {
todo!()
}
pub fn clear_cache(&self) -> OperationResult<()> {
todo!()
}
}
impl VectorIndexRead for VectorIndexReadEnum {
fn search(
&self,
_vectors: &[&QueryVector],
_filter: Option<&Filter>,
_top: usize,
_params: Option<&SearchParams>,
_query_context: &VectorQueryContext,
) -> OperationResult<Vec<Vec<ScoredPointOffset>>> {
todo!()
}
fn get_telemetry_data(&self, _detail: TelemetryDetail) -> VectorIndexSearchesTelemetry {
todo!()
}
fn indexed_vector_count(&self) -> usize {
todo!()
}
fn size_of_searchable_vectors_in_bytes(&self) -> usize {
todo!()
}
fn fill_idf_statistics(
&self,
_idf: &mut HashMap<DimId, usize>,
_hw_counter: &HardwareCounterCell,
) -> OperationResult<()> {
todo!()
}
fn is_index(&self) -> bool {
todo!()
}
}