On 5/15/07, Nigel McNie <[EMAIL PROTECTED]> wrote:
I'm using solr to implement a faceted search interface. I found that I
needed the ability to search for *:* so I could get the entire facet
counts, so I upgraded solr from the latest stable to the latest nightly
release.

However, it seems that the ruby writer has changed, or something else
inside solr has changed, because now for the facet data I am getting an
array instead of a hash.

It's documented for JSON (which Python and Ruby formats inherit from)
in both CHANGES.txt and on the Wiki:

http://wiki.apache.org/solr/SolJSON
http://svn.apache.org/repos/asf/lucene/solr/trunk/CHANGES.txt

'''
The JSON response format for facets has changed to make it easier for
clients to retain sorted order.  Use json.nl=map explicitly in clients
to get the old behavior, or add it as a default to the request handler
in solrconfig.xml
'''

-Yonik

Reply via email to