Well, this is the first version of the patch.
https://issues.apache.org/jira/browse/SOLR-588

Give me your feedback so we can make it better.

Thanks!

On Fri, May 30, 2008 at 10:36 AM, Jonathan Ariel <[EMAIL PROTECTED]> wrote:

> What do you mean? Right now you send an extra parameter
> f.weight.facet.statistical=true and it will add statistical information to
> the facet field response.
>
> What I don't like is that I made the the changes to the SimpleFacet class
> itself, it would nicer to have the ability to specify a different strategy
> (different class) instead. So the code won't grow too much and we don't have
> lots of ifs.
>
>
>
>
> On Fri, May 30, 2008 at 10:31 AM, Otis Gospodnetic <
> [EMAIL PROTECTED]> wrote:
>
>> 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
>> > >>
>> > >
>>
>>
>

Reply via email to