Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug in term vector api, payloads were not handled correctly when …
…some where missing The array holding the payloads (TermVectorFields.payloads) is reused for each token. If the previous token had payloads but the current token had not, then the payloads of the previous token were returned, because the payloads of the previous token were never invalidated. For example, for a field only contained two tokens each occurring once, the first having a payload and the second not, then for the second token, the payload of the first was returned. closes #3873
- Loading branch information
Showing
3 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters