[
https://issues.apache.org/jira/browse/LUCENE-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563552#comment-13563552
]
Michael McCandless commented on LUCENE-4719:
--------------------------------------------
I think there is a bug in your test case: you are ignoring the offset and
length of the BytesRef returned when you call getPayload?
> 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
>
> Attachments: PayloadsTestCase.java
>
>
> In 4.0 it worked. Since 4.1 getPayload() returns the same value 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: [email protected]
For additional commands, e-mail: [email protected]