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 200
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 sam
functions for this purpose.
It would be very nice if you could post some code examples.
Thanks again
Simon
Original-Nachricht
Datum: Thu, 06 Nov 2008 22:08:35 +0100
Von: [EMAIL PROTECTED]
An: solr-user@lucene.apache.org
Betreff: Re: Calculating peaks
Thank you, Erik. Thats w
Thank you, Erik. Thats what I need. Sorry, I missed the 'facet' chapter.
Original-Nachricht
> Datum: Thu, 6 Nov 2008 05:07:39 -0600
> Von: Erik Hatcher <[EMAIL PROTECTED]>
> An: solr-user@lucene.apache.org
> Betreff: Re: Calculating peaks
> Would
query I'm only
using 'text' and 'date'!
- If the query string is found in 'text', Solr returns only the
value from 'date' (not from 'text').
- My application uses a map to store all returned dates and to count
the frequency of occurre
ned dates and to count the
frequency of occurrence.
- The application uses the map for calculating peaks.
Two questions:
===> Is it possible to return _all_ documents, if the query response contains
only one small field ('date')?
===> Do you have an hints for tuning such a quer