You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2012/09/30 16:52:07 UTC

[jira] [Created] (LUCENE-4452) Need to test BlockPostings when payloads/offsets are indexed, but D&PEnum flags=0

Robert Muir created LUCENE-4452:
-----------------------------------

             Summary: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (LUCENE-4452) Need to test BlockPostings when payloads/offsets are indexed, but D&PEnum flags=0

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-4452.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.1

I added a test for this
                
> 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
>             Fix For: 4.1, 5.0
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-4452) Need to test BlockPostings when payloads/offsets are indexed, but D&PEnum flags=0

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org