Apologies for the second post, I noticed the "json.nl=arrarr" does work with
"facet.field" but not with "facet.date"?

Is there a separate parameter required for "facet.date" to make it display
as an array?

Any help is much appreciated, Will


{
 "responseHeader":{
  "status":0,
  "QTime":2,
  "params":{
        "facet.date.start":"NOW/YEAR-5YEARS",
        "facet":"true",
        "indent":"yes",
        "facet.limit":"5",
        "facet.date":"date",
        "json.nl":"arrarr",
        "wt":"json",
        "rows":"0",
        "q":"*:*",
        "facet.field":"date",
        "facet.date.gap":"+1YEAR",
        "facet.date.end":"NOW"}},
 "response":{"numFound":1265,"start":0,"docs":[]
 },
 "facet_counts":{
  "facet_queries":{},
  "facet_fields":{
        "date":
        [
         ["2010-01-19T00:00:00Z",63],
         ["2010-01-20T00:00:00Z",61],
         ["2010-01-29T00:00:00Z",60],
         ["2010-01-25T00:00:00Z",56],
         ["2010-01-21T00:00:00Z",55]]},
  "facet_dates":{
        "date":{
         "2005-01-01T00:00:00Z":0,
         "2006-01-01T00:00:00Z":0,
         "2007-01-01T00:00:00Z":0,
         "2008-01-01T00:00:00Z":0,
         "2009-01-01T00:00:00Z":2,
         "2010-01-01T00:00:00Z":1263,
         "gap":"+1YEAR",
         "end":"2011-01-01T00:00:00Z"}}}}
-- 
View this message in context: 
http://n3.nabble.com/json-nl-arrarr-does-not-work-with-facet-date-tp708730p708800.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to