On Fri, Mar 20, 2009 at 2:27 PM, dabboo <ag...@sapient.com> wrote: > > Shalin, thanks a lot. One quick question: > > Now, after putting the query in the way, you suggested, I am getting: > > - <lst name="facet_counts"> > - <lst name="facet_queries"> > <int name="productPrice_product_s:[0 TO 20]">23315</int> > </lst> > <lst name="facet_fields" /> > <lst name="facet_dates" /> > </lst> > > But it is not returning me records. Do I need to enter this field entry in > schema.xml to get the records or anywhere else. >
facet.query returns the number of documents matching that query after applying any filters (fq) that you may have specified. Can you tell us your use-case? -- Regards, Shalin Shekhar Mangar.