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 2013/01/25 17:01:13 UTC

[jira] [Resolved] (LUCENE-4719) Payloads per position broken

     [ https://issues.apache.org/jira/browse/LUCENE-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-4719.
---------------------------------

    Resolution: Not A Problem
      Assignee: Robert Muir

read the javadocs: its ok that it returns the same instance.

the instance is not *yours* and will refer to different bytes, or bytes with different content (all at the discretion of the implementation)
                
> Payloads per position broken
> ----------------------------
>
>                 Key: LUCENE-4719
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4719
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.1
>            Reporter: André 
>            Assignee: Robert Muir
>             Fix For: 4.1.1
>
>
> In 4.0 it worked. Since 4.1 getPayload() returns the same ByteRef instance for every position of the same term. Additionally payloads stored on the term vector (correct) may differ form payloads stored in the postings (wrong).

--
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