Skip to content

Commit

Permalink
fixing error for build stitched index
Browse files Browse the repository at this point in the history
  • Loading branch information
yashpatel007 committed Oct 5, 2023
1 parent 8cfcd5f commit f4b430b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/in_mem_filter_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,12 @@ template <typename label_type> void InMemFilterStore<label_type>::load_label_map
}
else
{
throw diskann::ANNException(
"Can't load label map file please make sure it was generate, either by filter_store->load_raw_labels() "
"then index->save() or convert_labels_string_to_int() method in case of dynamic index",
-1);
// TODO: throw exception from here and also make sure filtered_index is set appropriately for both build and
// search of index.
diskann::cout << "Warning: Can't load label map file please make sure it was generate, either by "
"filter_store->load_raw_labels() "
"then index->save() or convert_labels_string_to_int() method in case of dynamic index"
<< std::endl;
}
}

Expand Down

0 comments on commit f4b430b

Please sign in to comment.