shubhamvishu commented on PR #16092:
URL: https://github.com/apache/lucene/pull/16092#issuecomment-4512253515

   @benwtrent @mccullocht Currently we are creating the rotation seed from the 
field name and caching that for each segment reader so this would be calculated 
once and reused for a field but I agree with Ben likely there could be benefits 
of keeping it off heap (or) I'm thinking we could even drop the field from the 
seed so that its only driven by the dimension (like 1 seed per unique 
dimensions in the vectors fields indexed?). That way we  don't need to have 
this per segment (just one global object for a specific dimension)? Thoughts?
   
   > Maybe this information should appear as part of FieldInfo?
   
   Right, I like the approach to do the rotation upfront into the KnnQuery 
using the FieldInfos setting. That way it would be global + less intrusive.


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