jpountz commented on PR #12194:
URL: https://github.com/apache/lucene/pull/12194#issuecomment-1583020229

   The logic looks pretty good to me overall. I like that we're seeing good 
speedups when using FILTER/MUST_NOT clauses on postings that have long runs!
   
   It'd be good to understand if we can reduce the overhead for the case when 
the optimization doesn't kick in, as I'd expect this case to remain the most 
common one.
   
   I'm also curious to get other people's take on whether the additional API is 
worth the performance benefits. I personally like it because it allows having 
first-class filters (filters on fields that are part of the index sort) that 
perform much more efficiently than regular filters. This can be especially 
useful when managing multiple tenants within the same index, e.g. multiple 
categories of an e-commerce catalog.


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