rmuir commented on PR #12280:
URL: https://github.com/apache/lucene/pull/12280#issuecomment-1540521962

   I still think it doesn't make sense to me to expose this. As i said on the 
dev list, your problem is that you use a custom postings format and you want it 
to accelerate the intersection. 
   
   The cleanest way to do this, is to handoff the intersection to the 
postingsformat directly, rather than worry about seekCeil/seekExact and 
subclassing queries or exposing stuff. It should give a performance improvement 
using the default postings format as well (at least it did for other queries 
when mikemccand added it)
   
   So, IMO we should try to fix this query to use Terms.intersect() [see 
#12176], then override Terms.intersect for the BloomPostingsFormat to make use 
of the bloom filters to speed up intersection. 
   
   


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