jpountz opened a new pull request #760: LUCENE-8311: Phrase impacts URL: https://github.com/apache/lucene-solr/pull/760 This PR adds and leverages impacts for phrase queries. It contains two commits that are unrelated but getting them at the same time helps preserve performance: currently impacts don't specialize at all. After doing some digging, I noticed that one reason why the change made things slower is that postings specialize both the docs(+freqs) and docs+freqs+positions cases, while impacts don't specialize anything at all. So I removed the specialization for docs+freqs+positions with postings and added specialization for docs+freqs+positions with impacts instead. The assumption is that phrases are more often used for ranking than for filtering.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
