jpountz commented on issue #12219:
URL: https://github.com/apache/lucene/issues/12219#issuecomment-1492296110

   What about doing this through vector formats: vector formats could take a 
similarity parameter, which would win over the one configured on the field type 
when set. The benefit is that it builds on the fact that vector formats are 
already pluggable, which makes things simpler in my view. The downside is that 
you can't plug in similarity functions independently from vectors formats.
   
   This makes me wonder more generally if the similarity should have been an 
implementation detail of vector formats, like maxConn and beamWidth. Having it 
on the field type is a bit more user friendly if we think it's important for 
users to be able to choose between cosine, dot-product and euclidean, but a 
downside of this choice it that it requires any legal KNN vectors format to 
support all 3 similarity functions.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to