On 2/27/07, Peter McPeterson <[EMAIL PROTECTED]> wrote:
Was there an intended change on the 'facet_fields' response from Solr's ruby/python format on the nightly build? Before it was returning a hash but now it's returning an array. I'm assuming it's a bug...
It was decided that too many clients couldn't maintain order (because of mapping to unordered native maps/hashes). See http://svn.apache.org/viewvc/lucene/solr/trunk/CHANGES.txt?view=markup '''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''' or http://wiki.apache.org/solr/SolJSON where it explains that json.nl.flat is now the default. -Yonik