[ 
https://issues.apache.org/jira/browse/SOLR-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005281#comment-13005281
 ] 

Yonik Seeley commented on SOLR-2420:
------------------------------------

example:
{code}
  "termVectors":[
    "warnings",[
      "noTermVectors",["id"]],
    "doc-5",[
      "uniqueKey","MA147LL/A",
      "includes",[
        "cabl",[
          "tf",1,
          "offsets",[
            "start",23,
            "end",28],
          "positions",[
            "position",3],
          "df",3,
          "tf-idf",0.3333333333333333],
        "earbud",[
          "tf",1,
          "offsets",[
            "start",0,
            "end",6],
          "positions",[
            "position",0],
          "df",1,
          "tf-idf",1.0],
        "headphon",[
          "tf",1,
          "offsets",[
            "start",7,
            "end",17],
          "positions",[
            "position",1],
          "df",1,
          "tf-idf",1.0],
        "usb",[
          "tf",1,
          "offsets",[
            "start",19,
            "end",22],
          "positions",[
            "position",2],
          "df",3,
          "tf-idf",0.3333333333333333]]],
{code}

> improve term vector component response format
> ---------------------------------------------
>
>                 Key: SOLR-2420
>                 URL: https://issues.apache.org/jira/browse/SOLR-2420
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>
> If you look at the response format of the term vector component in JSON 
> format:
> http://localhost:8983/solr/select/?qt=tvrh&q=includes:[*+TO+*]&fl=id&tv.all=true&wt=json&indent=true
> It's clear that everything is a NamedList (meaning that order is more 
> important than access-by-key).

--
This message is automatically generated by JIRA.
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