jpountz commented on PR #12194: URL: https://github.com/apache/lucene/pull/12194#issuecomment-1611650783
> if we were to split the window based on certain size and only call peexNextNonMatchingDocID when advancing to a new window, I felt it might not be as effective, since for unsorted index, the matching doc ids might have large gaps between ids to begin with? My implementation above would temporarily pause calling peexNextNonMatchingDocID for the next 128 docs encountered, so it should be more aggressive in terms of skipping the calls. You are right, sparse queries may be affected. -- 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