Re: Calculating peaks - solrj support for facet.date?

2008-11-13 Thread Aleksander M. Stensby
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

Re: Calculating peaks - solrj support for facet.date?

2008-11-07 Thread Erik Hatcher
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

Re: Calculating peaks - solrj support for facet.date?

2008-11-07 Thread gistolero
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

Re: Calculating peaks

2008-11-06 Thread gistolero
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

Re: Calculating peaks

2008-11-06 Thread Erik Hatcher
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

Calculating peaks

2008-11-06 Thread gistolero
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