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

Munendra S N commented on SOLR-13333:
-------------------------------------

* For PointFields, *terms.ttf=true* doesn't work in both standalone and 
distributed mode. For distributed, it always gives value as 0
* Once terms.ttf=true is supported for standalone mode, JSON response would 
look like this
{code:json}
{
  "type_s": [
    "review",
    {
      "df": 8,
      "ttf": 0
    },
    "book",
    {
      "df": 4,
      "ttf": 0
    },
    "comment",
    {
      "df": 4,
      "ttf": 0
    }
  ],
  "id": [
    "book4",
    {
      "df": 1,
      "ttf": 0
    },
    "book4_c1",
    {
      "df": 1,
      "ttf": 0
    },
    "book4_c2",
    {
      "df": 1,
      "ttf": 0
    },
    "book4_c3",
    {
      "df": 1,
      "ttf": 0
    },
    "book5",
    {
      "df": 1,
      "ttf": 0
    },
    "book5_c1",
    {
      "df": 1,
      "ttf": 0
    },
    "book5_c2",
    {
      "df": 1,
      "ttf": 0
    },
    "book5_c3",
    {
      "df": 1,
      "ttf": 0
    },
    "book6",
    {
      "df": 1,
      "ttf": 0
    },
    "book6_c1",
    {
      "df": 1,
      "ttf": 0
    }
  ]
}
{code}
As NamedList is used in standalone mode which is different from distributed mode

> terms.ttf=true doesn't work when distrib=false and terms.list is not specified
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-13333
>                 URL: https://issues.apache.org/jira/browse/SOLR-13333
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SearchComponents - other
>            Reporter: Munendra S N
>            Priority: Major
>
> In SOLR-10349, support to return total term frequency was added. This works 
> fine in distributed mode or when terms.list is specified but doesn't work 
> with non-distributed mode.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to