GovindBalaji-S-Glean commented on issue #14986:
URL: https://github.com/apache/lucene/issues/14986#issuecomment-3126371456

   `AbstractMultiTermQueryConstantScoreWrapper` itself only calls 
`Query#createWeight`. However, `ConstantScoreQuery#createWeight` and 
`BooleanQuery#createWeight` call `IndexSearcher#createWeight`. We might have to 
change a lot of places this way.
   
   > To your point, there are many segments, so this would increase heap usage.
   
   Since we are fixing length here to 256, `UsageTrackingQueryCachingPolicy` 
looks like it would be < 800 integers per instance. Is this a lot given we 
anyway have 1 `org.apache.lucene.search.LRUQueryCache.LeafCache` per segment?


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