As Erik said, you can just set the parameters yourself
 SolrQuery query = new SolrQuery(...);
 query.set(FacetParams.FACET_DATE, ...);
 etc.

You'll find all facet-related parameters in the FacetParams interface, located in the org.apache.solr.common.params package.

- Aleks

On Fri, 07 Nov 2008 14:26:56 +0100, Erik Hatcher <[EMAIL PROTECTED]> wrote:


On Nov 7, 2008, at 7:23 AM, [EMAIL PROTECTED] wrote:
Sorry, but I have one more question. Does the java client solrj support facet.date?

Yeah, but it doesn't have explicit setters for it. A SolrQuery is also a ModifiableSolrParams - so you can call the add/set methods on it using the same keys used with HTTP requests.

        Erik





--
Aleksander M. Stensby
Senior software developer
Integrasco A/S

Reply via email to