jpountz commented on PR #12194: URL: https://github.com/apache/lucene/pull/12194#issuecomment-1600539698
I'd rather like to avoid introducing a flag, but your second idea sounds interesting. Maybe one way to implement it would be to introduce a bulk scorer for conjunctions, and split the doc ID space into something like 128 equal windows, and only checking for `peexNextNonMatchingDocID` when moving to a new window. This would only ignore queries whose runs of matches are less than 1% of the total segment size, which wouldn't be very useful to speed things up anyway? -- 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