navneet1v opened a new issue, #14247:
URL: https://github.com/apache/lucene/issues/14247

   ## Description
   Currently KnnFloatVectorField(float/byte) supports only passing Vector 
information(which includes dim etc). But sometime you need to pass some more 
extra information with vector the vector field which will be helpful in 
building the efficient search data structures. A naive example for this can be 
a tenant id where you might want to cluster the points specific to a tenant in 
the hnsw graph.
   
   The ask for this issue is to have a byte array/or some thing similar that 
can be passed with the vector field and can be made accessible at the 
KNNVectorsFormat level. 
   
   
   ## Alternatives
   I tried passing the information in another field like a BinaryDocValues, but 
during indexing at the KNNVectorsFormat we don't have access to the BDV. If 
there is an alternative way to access which I might be missing, please let me 
know.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to