[
https://issues.apache.org/jira/browse/LUCENE-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466498#comment-13466498
]
Robert Muir commented on LUCENE-4452:
-------------------------------------
I was actually surprised to see this, esp. since MockAnalyzer randomly indexes
payloads and this should be the case for
things like PhraseQuery.
We should ensure this isn't dead code or a bug: it seems wierd to me that we
would need to read this useless data here:
partial blocks for these elements are still written to the .pay file right?
> Need to test BlockPostings when payloads/offsets are indexed, but D&PEnum
> flags=0
> ---------------------------------------------------------------------------------
>
> Key: LUCENE-4452
> URL: https://issues.apache.org/jira/browse/LUCENE-4452
> Project: Lucene - Core
> Issue Type: Sub-task
> Components: core/codecs
> Reporter: Robert Muir
>
> In this case we get a BlockDocsAndPositionsEnum just reading positions and
> ignoring the stuff in the .pay: but this is untested.
> see BlockDocsAndPositionsEnum.refillPositions in
> https://builds.apache.org/job/Lucene-Solr-Clover-4.x/34/clover-report/org/apache/lucene/codecs/block/BlockPostingsReader.html#BlockPostingsReader
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]