Was thinking... how about making those functions pluggable? Doable? Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ---- > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Friday, May 30, 2008 3:56:14 AM > Subject: Re: Getting maximum and minimum values of a field > > I know that I would definately be interested in that. :) > > /Jimi > > Quoting Jonathan Ariel : > > > Ok. So I have a version of solr with a small modification to the SimpleFacet > > class where you can send a parameter to tell that you want some more info. > > It'll bring back a list with the max and min values as well as the SD, CV > > and Mean for the facet values. > > If you are interested I could generate a patch and add it to JIRA. > > > > What do you think? > > > > Jonathan > > > > On Wed, May 28, 2008 at 12:58 AM, Jonathan Ariel wrote: > > > >> Hi!I'm looking for a way to get the maximum and minimum value of a field > >> (like price) in a specific query. First I thought about using facet for > >> that, but since price may have lots of different and unique values, a facet > >> is not a good idea. > >> Any thoughts about how can I achieve this? > >> > >> Thanks! > >> > >> Jonathan > >> > >