[ 
https://issues.apache.org/jira/browse/LUCENE-8762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877916#comment-16877916
 ] 

Adrien Grand commented on LUCENE-8762:
--------------------------------------

I proposed to change the specialization for docs+freqs+positions as part of 
LUCENE-8311. But it doesn't add any specialization for docs+freqs, which would 
still probably be worth adding?

> 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
>            Priority: Minor
>
> 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