We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 060f5a4 commit d59ffafCopy full SHA for d59ffaf
src/vectors.rs
@@ -588,7 +588,6 @@ impl VectorStore {
588
}
589
590
pub fn get_vec(&self, domain: &Domain, index: usize) -> io::Result<Option<LoadedVec>> {
591
- eprintln!("get vec {index}");
592
if domain.num_vecs() <= index {
593
return Ok(None);
594
@@ -600,10 +599,8 @@ impl VectorStore {
600
599
index: page_index,
601
};
602
if let Some(page) = self.arena.page_from_any(page_spec) {
603
- eprintln!(" found page");
604
Ok(Some(page.get_loaded_vec(index_in_page)))
605
} else {
606
- eprintln!(" did not find page");
607
// the page is on disk but not yet in memory. Let's load it.
608
match self.arena.start_loading_or_wait(page_spec) {
609
LoadState::Loading => {
0 commit comments