On 5/3/07, Mike Klaas <[EMAIL PROTECTED]> wrote:
On 5/3/07, Jack L <[EMAIL PROTECTED]> wrote:
> The Python output uses nested dictionaries for facet counts.

This might be fixed in the future

It's fixed in the current development version (future 1.2), already.
See http://wiki.apache.org/solr/SolJSON
which is the "base" for both Python and Ruby.

The default is json.nl=flat which results in alternating term and
count in a flat array.

"facet_fields":{
       "cat":[
        "electronics",3,
        "card",2,
        "graphics",2,
        "music",1]}},

-Yonik

Reply via email to