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

Michael McCandless updated SOLR-5911:
-------------------------------------

    Attachment: SOLR-5911.patch

Patch: I tried to find all the places that involved offsets with term vectors, 
and added a corresponding option for payloads.  For FieldProperties I just 
assigned the next available flag; I assume I couldn't shift the existing ones 
(are these not supposed to change, for back-compat?).

I also added returning payloads from TermVectorComponent, encoded as base64, 
and added a simple test confirming that payloads come back when indexed.

> Cannot store term vector payloads
> ---------------------------------
>
>                 Key: SOLR-5911
>                 URL: https://issues.apache.org/jira/browse/SOLR-5911
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>             Fix For: 4.8, 5.0
>
>         Attachments: SOLR-5911.patch
>
>
> Lucene's term vectors can now store payloads, but it looks like this was 
> never exposed in Solr.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to