Sorry, but I have one more question. Does the java client solrj support 
facet.date?

QueryResponse knows the getFacetDates() method but I don't understand how to 
set facet.date, facet.date.start, facet.date.end, and facet.date.gap for the 
query. It seems that SolrQuery doesn't provide 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 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 faceting on date (&facet.field=date&facet=on) satisfy your  
> need?   It'll give you back all the dates and frequencies of them  
> within the matched results.
> 
>       Erik
> 
> On Nov 6, 2008, at 4:59 AM, [EMAIL PROTECTED] wrote:
> > How can I get ALL the matching documents back? How can I return an  
> > unlimited number of rows?
> > Yes, I have read the FAQ and I got your point, but I need Solr to  
> > calculate number based peaks for my indexed data:
> >
> > - For each of my documents the text ('text'), the creation time  
> > ('date') and other fields are saved. But for this 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 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 query? I am using the  
> > 'fl=date' parameter. Is there a better way?
> >
> >
> > Thanks a lot
> > Gisto
> > -- 
> > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

Reply via email to