jpountz commented on PR #12349: URL: https://github.com/apache/lucene/pull/12349#issuecomment-1578646078
I wonder if this is true, wouldn't skipping also happen if a field doesn't exist? For instance if collecting 10 top hits, I would expect the collector to collect the first 10 hits produced by the query, and then the competitive iterator would skip every other hit since they cannot possibly be more competitive? It would be a shame to collect the whole segment while documents beyond the 10th hit cannot possibly be competitive? -- 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