apache / apache/lucene

Payloads per position broken [LUCENE-4719]

Open
#5,784 7 comments 0 reactions 1 assignee Claimed by @rmuir View on GitHub
affects-version:4.1 legacy-jira-priority:Major module:core/index type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

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

---
Migrated from [LUCENE-4719](https://issues.apache.org/jira/browse/LUCENE-4719) by André , updated May 20 2017
Attachments: [PayloadsTestCase.java](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4719/PayloadsTestCase.java)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.