Skip to content

Conversation

@aknayar
Copy link
Contributor

@aknayar aknayar commented Nov 23, 2025

This PR implements the following functions for IndexFlatPanorama

  • remove_ids()
  • merge_from()
  • permute_entries()

It leaves add_sa_codes unimplemented as this function doesn't really apply to the Panorama use case. Relevant tests are included in tests/test_flat_l2_panorama.py.

@meta-cla meta-cla bot added the CLA Signed label Nov 23, 2025
size_t IndexFlatPanorama::remove_ids(const IDSelector& /* sel */) {
FAISS_THROW_MSG("remove_ids not implemented for IndexFlatPanorama");
return 0;
size_t IndexFlatPanorama::remove_ids(const IDSelector& sel) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@meta-codesync
Copy link
Contributor

meta-codesync bot commented Nov 25, 2025

@pankajsingh88 has imported this pull request. If you are a Meta employee, you can view this in D87895434.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants