Likely because it is a Solr 4.0 feature and you are using Solr 1.4.1. That'd be my guess.
(Solr 4.0 is the latest greatest as yet unreleased version of Solr - numbering scheme changed to fit with that of Lucene). Upayavira On Mon, 14 Feb 2011 16:05 +0530, "Isha Garg" <isha.g...@orkash.com> wrote: > On Friday 11 February 2011 11:34 PM, Gora Mohanty wrote: > > On Thu, Feb 10, 2011 at 12:21 PM, Isha Garg<isha.g...@orkash.com> wrote: > > > >> What is facet.pivot field? PLz explain with example > >> > > Does http://wiki.apache.org/solr/SimpleFacetParameters#facet.pivot not help? > > > > Regards, > > Gora > > > > No, it is not showing any pivot results in my case > > http://localhost:8984/solr/worldNews/select/?q=*%3A*&version=2.2&start=0&rows=0&indent=on&facet.pivot=category,country,KeyLocation&facet.pivot=country,category&facet=true&facet.field=category&&wt=json > > Output is: > > { > "responseHeader":{ > "status":0, > "QTime":1, > "params":{ > "facet":"true", > "indent":"on", > "start":"0", > "q":"*:*", > "facet.field":"category", > "wt":"json", > "facet.pivot":["category,country,KeyLocation", > "country,category"], > "version":"2.2", > "rows":"0"}}, > "response":{"numFound":6775,"start":0,"docs":[] > }, > "facet_counts":{ > "facet_queries":{}, > "facet_fields":{ > "category":[ > "Counterfeiting and Piracy ",2367, > "Social Unrest ",2143, > "Security Measures ",1064, > "Fraud and Cheating ",356, > "Naxelites ",266, > "Terrorism ",243, > "Sex Crime ",232, > "Shiv Sena ",76, > "Major Crime ",23, > "Drug Running and Organized Crime ",5]}, > "facet_dates":{}}} > > > --- Enterprise Search Consultant at Sourcesense UK, Making Sense of Open Source