Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Get term vector api broken for missing payloads #3873
If not all tokens in a field have a payload, the java api for term vectors will return the payload of the previous token at that position if there was one.
For example, suppose a field only contains two tokens each occurring once, the first having a payload and the second not, then for the second token, the payload of the first would be returned.