You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by GitBox <gi...@apache.org> on 2019/07/03 15:11:51 UTC

[GitHub] [lucene-solr] jpountz opened a new pull request #760: LUCENE-8311: Phrase impacts

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org