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

Yonik Seeley updated SOLR-1491:
-------------------------------

    Attachment: SOLR-1491.patch

Patch attached... here's the essence of it:
{code}
  /** Returns true if a single field value of this type has multiple logical 
values
   *  for the purposes of faceting, sorting, etc.  Text fields normally return
   *  true since each token/word is a logical value.
   */
  public boolean multiValuedFieldCache() {
    return isTokenized();
  }
{code}

I'm not crazy about the name/description, but I can't currently think of better.

> single valued trie fields use multi valued faceting
> ---------------------------------------------------
>
>                 Key: SOLR-1491
>                 URL: https://issues.apache.org/jira/browse/SOLR-1491
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 1.4
>
>         Attachments: SOLR-1491.patch
>
>
> Single-valued trie fields use multi-valued faceting because isTokenized 
> returns true.
> Discovered here: 
> http://search.lucidimagination.com/search/document/e00bcf02427d404b/solr_trunk_heap_space_issues

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to