Alessandro Benedetti created SOLR-18267:
-------------------------------------------

             Summary: Skip HSNW graph construction for exact vector search
                 Key: SOLR-18267
                 URL: https://issues.apache.org/jira/browse/SOLR-18267
             Project: Solr
          Issue Type: New Feature
          Components: vector-search
            Reporter: Alessandro Benedetti


The idea we are exploring is not building the HNSW graph in the case of a 
highly selective filter search use case, and performing brute force KNN 
comparison as a post-filter.


The goal behind the feature is to not pay the cost of HNSW building during 
ingestion when ANN search isn't used.
 
A collaborator of ours already created a proof-of-concept on a branch of 
upstream Solr that adds knnAlgorithm="flat" to DenseVectorField using 
Lucene99FlatVectorsFormat. This stores vectors in the index (.vec/.vemf files) 
without building the HNSW graph (.vex/.vem files).
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to