Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
  virtual DatasetPtr
  QueryByRange(const DatasetPtr& dataset, const Config& config, const faiss::BitsetView bitset);

One There is one proposal is that not to add new interface QueryByRange(), but reusing interface Query() for range search. Considering the implementation in Knowhere, we don't accept this proposal. This is , because not all types of index support range search.

By now, Knowhere can support 13 types of index, but only 8 of them can support range search (the cell filled with BLUE):

BinaryIDMAP

...

BinaryIVF


IDMAPIVF_FLATIVF_FLAT_NMIVF_SQIVF_PQ
HNSWANNOY


RHNSW_FLATRHNSW_IVFRHNSW_SQRHNSW_PQ


Design Details(required)

Describe the new thing you want to do in appropriate detail. This may be fairly extensive and have large subsections of its own. Or it may be a few sentences. Use judgment based on the scope of the change.

...