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

Yonik Seeley commented on SOLR-125:
-----------------------------------

Sample output of facets w/ JSON and the "flat" default for NamedLists:

  "facet_fields":{
        "cat":[
         "electronics",14,
         "memory",3,
         "card",2,
         "connector",2,
         "drive",2,
         "graphics",2,
         "hard",2,
         "monitor",2,
         "search",2,
         "software",2,
         "camera",1,
         "copier",1,
         "multifunction",1,
         "music",1,
         "printer",1,
         "scanner",1]}}}

> disambiguate NamedList for JSON output
> --------------------------------------
>
>                 Key: SOLR-125
>                 URL: https://issues.apache.org/jira/browse/SOLR-125
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Yonik Seeley
>         Attachments: namedlist_json.patch
>
>
> A NamedList implies both ordered access and access by name.  For 
> JSON/Ruby/Python, we normally need to pick one or the other as maps are not 
> ordered by default in most clients.

-- 
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