msokolov commented on PR #13187:
URL: https://github.com/apache/lucene/pull/13187#issuecomment-2003799323

   There is some discussion how to make similarities more pluggable 
https://github.com/apache/lucene/issues/13182 that seems relevant. Part of the 
idea there is to accept ordinal values rather than arrays so that internally we 
can make use of directory memory access rather than having to materialize 
values on the heap. This issue could still fit into that framework I think, 
just providing a query vector but not a document vector? I guess we should 
think about whether this change would lock us in further to the current 
situation or not. Maybe we could go ahead with this and then change it later 
when that other issue lands? But it could make it more difficult to "plug in" 
implementations if they have to be reimplemented


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