Hi, 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. Example: [EMAIL PROTECTED]:~/sounz/solr_server$ curl -s 'http://localhost:8983/solr/select?indent=1&rows=0&q=thea*&facet=true&facet.field=year_group_facet&wt=ruby'; echo { 'responseHeader'=>{ 'status'=>0, 'QTime'=>0, 'params'=>{ 'wt'=>'ruby', 'rows'=>'0', 'facet'=>'true', 'facet.field'=>'year_group_facet', 'indent'=>'1', 'q'=>'thea*'}}, 'response'=>{'numFound'=>5,'start'=>0,'docs'=>[] }, 'facet_counts'=>{ 'facet_queries'=>{}, 'facet_fields'=>{ 'year_group_facet'=>[ '1970-1979',2, '1990-1999',2, '1980-1989',1, '',0, '1950-1954',0, '1955-1959',0, '1960-1964',0, '1965-1969',0, '2000-2004',0, '2005-',0, 'before-1950',0]}}} See how the 'year_group_facet' data is in an array instead of a hash, as it used to be in the stable version. Is there a reason for this change? From my "hasn't used solr too much before" perspective, the change does not seem to make much sense. Perhaps it's a bug? Thanks in advance anyone who can help :) -- Regards, Nigel McNie Catalyst IT Ltd. DDI: +64 4 803 2203
signature.asc
Description: OpenPGP digital signature