msokolov commented on PR #920: URL: https://github.com/apache/lucene/pull/920#issuecomment-1134805154
I suspect what's happening is RandomIndexWriter is causing some very small segment to be written, and within that segment the query *is* highly selective causing us to fall back to brute force scan. I would probably fix by using a more "normal" IndexWriter and always indexing a single segment? -- 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