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

Peter Wolanin updated SOLR-2166:
--------------------------------

    Attachment: workaround-managled-SOLR-2166.diff

As a work-around one could enabled access to the unused(?) 
writeNamedListAsMapMangled() function which prevents writing duplicate keys.  
For this work-around patch, use:

json.nl=mapm instead of json.nl=map

to see the behavior AFTER:
{code}
  "termVectors":{
    "doc-49":{
      "uniqueKey":"evfbih/node/89",
      "content":{
        "abba":{
          "positions":{
            "position":49}},
        "abigo":{
          "positions":{
            "position":5,
            "position_1":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, workaround-managled-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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to