Re: retrieving range of fields for the results

2007-08-08 Thread Yu-Hui Jin
Sounds good. Many thanks, guys! regards, -Hui On 8/8/07, Pieter Berkel <[EMAIL PROTECTED]> wrote: > > On 09/08/07, Mike Klaas <[EMAIL PROTECTED]> wrote: > > > > Faceting ignores pagenation/startat/maxresults/etc. > > > > > This is correct, the facet information returned is based on the entire >

Re: retrieving range of fields for the results

2007-08-08 Thread Pieter Berkel
On 09/08/07, Mike Klaas <[EMAIL PROTECTED]> wrote: > > Faceting ignores pagenation/startat/maxresults/etc. > This is correct, the facet information returned is based on the entire result set matching the query rather than the document set returned by the query. The start and row parameters have

Re: retrieving range of fields for the results

2007-08-08 Thread Mike Klaas
On 8-Aug-07, at 6:05 PM, Yu-Hui Jin wrote: Thanks, Piete, Yes, that's how I imagine I would do it now. Only that on a second thought, I think i need to issue a second query for the faceting params, since the original query would be paginated (with start and row params); while for faceting

Re: retrieving range of fields for the results

2007-08-08 Thread Yu-Hui Jin
Thanks, Piete, Yes, that's how I imagine I would do it now. Only that on a second thought, I think i need to issue a second query for the faceting params, since the original query would be paginated (with start and row params); while for faceting, we should only append to the original query withou

Re: retrieving range of fields for the results

2007-08-08 Thread Pieter Berkel
You could probably achieve this using faceting, however it would not be a very efficient solution (although your multi-query idea isn't very efficient either). Since facets return result sets in field sort order if you specify facet.sort=false (setting that to try sorts the field by count), so you

Re: retrieving range of fields for the results

2007-08-07 Thread Yu-Hui Jin
Piete, Thanks for the pointers and detailed info. Actually I'm aware of the faceting feature. Faceting provides the ability to categorize the results with the count for each category. However,I don't think that solves my problem. Let me give a more detailed example for my requirement: Let's say

Re: retrieving range of fields for the results

2007-08-07 Thread Pieter Berkel
The functionality you are describing is called "Faceting" in Solr and can be achieved with a single query, take a look at the following wiki pages for more info: http://wiki.apache.org/solr/SolrFacetingOverview http://wiki.apache.org/solr/SimpleFacetParameters In regards to faceting date fields s