Pulkitg64 commented on PR #13308:
URL: https://github.com/apache/lucene/pull/13308#issuecomment-2100613810

   > > I didn't find any internal usages of this function.
   > 
   > That doesn't make sense to me. IntelliJ tells me there are over 30 usages 
of VectorSimilarityFunction.COSINE.
   
   Sorry I think I am missing something, I think we cannot remove COSINE from 
those places, since we require them in LUCENE version < 10.0. They are mostly 
being used in FieldInfosFormat, VectorReader, ScalarQuantizedVectorWriter 
classes. 
   
   I think the main task is to first get rid of dependency on enum for 
VectorSimilarityFunction and instead have some interface to get those functions 
and support.
   


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