[
https://issues.apache.org/jira/browse/SOLR-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Wolanin updated SOLR-2166:
--------------------------------
Attachment: SOLR-2166.diff
Here's a patch rolled against Solr 3.5 which I think makes the format into
something more compact and that doesn't fail on JSON parsing.
BEFORE:
{code}
"termVectors":{
"doc-49":{
"uniqueKey":"evfbih/node/89",
"content":{
"abba":{
"positions":{
"position":49}},
"abigo":{
"positions":{
"position":5,
"position":72}},
{code}
AFTER:
{code}
"termVectors":{
"doc-49":{
"uniqueKey":"evfbih/node/89",
"content":{
"abba":{
"positions":[49]},
"abigo":{
"positions":[5,
72]},
{code}
> termvector component has strange syntax
> ---------------------------------------
>
> Key: SOLR-2166
> URL: https://issues.apache.org/jira/browse/SOLR-2166
> Project: Solr
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Attachments: SOLR-2166.diff
>
>
> The termvector response format could really be improved.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]