Adrien Grand created LUCENE-8762:
------------------------------------

             Summary: Lucene50PostingsReader should specialize reading 
docs+freqs with impacts
                 Key: LUCENE-8762
                 URL: https://issues.apache.org/jira/browse/LUCENE-8762
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand


Currently if you ask for impacts, we only have one implementation that is able 
to expose everything: docs, freqs, positions and offsets. In contrast, if you 
don't need impacts, we have specialization for docs+freqs, docs+freqs+positions 
and docs+freqs+positions+offsets.

Maybe we should add specialization for the docs+freqs case with impacts, which 
should be the most common case, and remove specialization for 
docs+freqs+positions when impacts are not requested?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to