vigyasharma commented on PR #14009:
URL: https://github.com/apache/lucene/pull/14009#issuecomment-2906608970

   > Is it this? 
https://github.com/apache/lucene/blob/main/lucene/queries/src/java/org/apache/lucene/queries/function/FunctionScoreQuery.java
   
   @msokolov : Gosh, you're right! This is pretty much what we need. Just pass 
it a `DoubleValuesSource` for full precision vector scoring, along with the 
query you want to wrap.
   
   I noticed we already had `DoubleValuesSource`s for vector similarity, but 
they didn't compute full precision for quantized vectors. Have added that 
support here – #14708 
   
   Perhaps, we could also add some syntactic sugar on the FunctionScoreQuery 
for this specific use case, maybe a static getter that uses these double values 
sources to return a query that reranks by full precision vector similarity.


-- 
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

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