Re: CustomQuery.bulkScorer isn't called from BooleanQuery with filter block

2018-07-26 Thread Adrien Grand
Weight#bulkScorer has a similar purpose as Weight#scorer but is optimized for the case that all matches need to be visited. Say your query is "a OR b": all hits of "a" are also hits of "a OR b" so if you run this query, Lucene will call Weight#bulkScorer on both sub clauses and merge results. Now i

Re: CustomQuery.bulkScorer isn't called from BooleanQuery with filter block

2018-07-26 Thread Vadim Gindin
Hello Adrien. No, My query supports both scorer() and bulkScorer(). Sorry, I didn't specified that, because I thought it is not related to my difficulty. Could you explain what did you mean by " Today, conjunctions never use the bulkScorer API."? Thanks. On Thu, Jul 26, 2018 at 1:11 AM Adrien G