Re: Dynamically calculated range facet

2009-02-19 Thread Rohit Gandhe
people might want a float mean for an int field >> anyway) >> >> i suppose even stddev could be computed fairly easily ... there's a >> formula for that that works well in a single pass over a bunch of values >> right? >> >> >> >> >> -Hoss >> > -- > Martin Grotzke > http://www.javakaffee.de/blog/ > > > -- View this message in context: http://www.nabble.com/Dynamically-calculated-range-facet-tp11314725p22113426.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Solr FAQ entry about "Dynamically calculated range facet" topic

2009-01-15 Thread Chris Hostetter
(8) : : "Re: Dynamically calculated range facet" : http://www.mail-archive.com/solr-user@lucene.apache.org/msg04727.html these days you'd want to do this in a SearchComponent ... probabably a subclass of FacetComponent ... but the same basic pattern still applies. you're go

RE: Solr FAQ entry about "Dynamically calculated range facet" topic

2009-01-06 Thread Yevgeniy Belman
) "Re: Dynamically calculated range facet" http://www.mail-archive.com/solr-user@lucene.apache.org/msg04727.html

Re: Solr FAQ entry about "Dynamically calculated range facet" topic

2008-08-22 Thread Alexander Ramos Jardim
I would like to hear as much as possible about this topic as I really do lots of dynamic facet processing in my client application nowadays. 2008/8/10 Rogerio Pereira <[EMAIL PROTECTED]> > Hi! > > I would like to know if I can add a FAQ entry about this topic, the > motivation, ideas and workarou

Re: Solr FAQ entry about "Dynamically calculated range facet" topic

2008-08-22 Thread Mike Klaas
On 22-Aug-08, at 10:35 AM, Rogerio Pereira wrote: Hi Cris, I just asked this because I need to know if this kind of addition is welcome and somebody cares with this kind of information. Are you planning on discussing ways to optimize facet queries such as age:[XX TO YY]? I'm sure someo

Re: Solr FAQ entry about "Dynamically calculated range facet" topic

2008-08-22 Thread Rogerio Pereira
Hi Cris, I just asked this because I need to know if this kind of addition is welcome and somebody cares with this kind of information. 2008/8/22 Chris Hostetter <[EMAIL PROTECTED]> > > : I would like to know if I can add a FAQ entry about this topic, the > : motivation, ideas and workarounds us

Re: Solr FAQ entry about "Dynamically calculated range facet" topic

2008-08-22 Thread Chris Hostetter
: I would like to know if I can add a FAQ entry about this topic, the : motivation, ideas and workarounds used. If yes, I would like do it with help : from all guys that faced this problem. Anyone can add to the wiki ... just create an account (info is at the bottom of the wiki FrontPage. For a

Solr FAQ entry about "Dynamically calculated range facet" topic

2008-08-10 Thread Rogerio Pereira
Hi! I would like to know if I can add a FAQ entry about this topic, the motivation, ideas and workarounds used. If yes, I would like do it with help from all guys that faced this problem. -- Regards, Rogério (_rogerio_) http://faces.eti.br "Faça a diferença! Ajude o seu país a crescer, não ret

Re: Dynamically calculated range facet

2007-06-28 Thread John Wang
Hi Martin: I just started a wiki on this: http://browseengine.pbwiki.com/ Has references to the source code. I have written a solr plugin, but it depends on SOLR-243. The implmentation is different from the solr facetted search implementation. Look at the demo: http://www.browseengine.com/demo

Re: Dynamically calculated range facet

2007-06-27 Thread Chris Hostetter
: For now, if you want to integrate existing standard/dismax : functionality, there is no great way to cleanly do this without copying : You could almost do what you need by overriding getFacetInfo(), but you : also need to check the DocList. actually, for this use case i think overriding getFa

RE: Dynamically calculated range facet

2007-06-27 Thread Chris Hostetter
: managers and test users happy. The use case that often came up was the : ability to dynamically drill inside ranges. For instance my first : search for 'computer on a large ecommerce site might yield ranges of : 0-500, 500-1000, 1000-2000, 2000+, selecting 500-1000 might then yield : ranges of

Re: Dynamically calculated range facet

2007-06-27 Thread Mike Klaas
On 27-Jun-07, at 1:07 AM, Martin Grotzke wrote: On Tue, 2007-06-26 at 16:48 -0700, Mike Klaas wrote: On 26-Jun-07, at 3:01 PM, Martin Grotzke wrote: Easy: facet based on fixed ranges (say, every 10 dollars for x < 100, 100 dollars for x < 1000, etc)., and combine them sensically on the clien

Re: Dynamically calculated range facet

2007-06-27 Thread Ryan McKinley
Martin Grotzke wrote: On Tue, 2007-06-26 at 23:22 -0700, Chris Hostetter wrote: : So if it would be possible to go over each item in the search result : I could check the price field and define my ranges for the specific : query on solr side and return the price ranges as a facet. : Otherwise,

Re: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
On Tue, 2007-06-26 at 23:22 -0700, Chris Hostetter wrote: > : So if it would be possible to go over each item in the search result > : I could check the price field and define my ranges for the specific > : query on solr side and return the price ranges as a facet. > > : Otherwise, what would be a

RE: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
On Wed, 2007-06-27 at 09:06 -0400, Will Johnson wrote: > >one thing to keep in mind: it's typically not a good idea to have the > >constraint set of a facet change just because some other constraint was > >added to the query -- individual constraints might disappear because > >they no longer apply,

RE: Dynamically calculated range facet

2007-06-27 Thread Will Johnson
>one thing to keep in mind: it's typically not a good idea to have the >constraint set of a facet change just because some other constraint was >added to the query -- individual constraints might disappear because >they no longer apply, but it can be very disconcerting to a user to >when options hc

Re: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
On Tue, 2007-06-26 at 19:53 -0700, John Wang wrote: > www.browseengine.com has facet search that handles this. You are calculating range facets dynamically? Do you have any code I can have a look at? I had a look at c.b.solr. BoboRequestHandler, but this does not seem to calculate ranges. Cheers,

Re: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
On Tue, 2007-06-26 at 16:48 -0700, Mike Klaas wrote: > On 26-Jun-07, at 3:01 PM, Martin Grotzke wrote: > > AFAICS I do not have the possibility to specify range queries in my > > application, as I do not have a clue what's the lowest and highest > > price in the search result and what are "good" ra

Re: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
Chris, thanx for all this info! I'll think about these things again and then come back to you... Cheers, Martin On Tue, 2007-06-26 at 23:22 -0700, Chris Hostetter wrote: > : my documents (products) have a price field, and I want to have > : a "dynamically" calculated range

Re: Dynamically calculated range facet

2007-06-26 Thread Chris Hostetter
: my documents (products) have a price field, and I want to have : a "dynamically" calculated range facet for that in the response. FYI: there have been some previous discussions on this topic... http://www.nabble.com/blahblah-t2387813.html#a6799060 http://www.nabble.com/facete

Re: Dynamically calculated range facet

2007-06-26 Thread John Wang
www.browseengine.com has facet search that handles this. We are working on a solr plugin. -John On 6/26/07, Mike Klaas <[EMAIL PROTECTED]> wrote: On 26-Jun-07, at 3:01 PM, Martin Grotzke wrote: > AFAICS I do not have the possibility to specify range queries in my > application, as I do not ha

Re: Dynamically calculated range facet

2007-06-26 Thread Mike Klaas
On 26-Jun-07, at 3:01 PM, Martin Grotzke wrote: AFAICS I do not have the possibility to specify range queries in my application, as I do not have a clue what's the lowest and highest price in the search result and what are "good" ranges according to the (statistical) distribution of prices in the

Dynamically calculated range facet

2007-06-26 Thread Martin Grotzke
Hi, my documents (products) have a price field, and I want to have a "dynamically" calculated range facet for that in the response. E.g. I want to have this in the response price:[* TO 20] -> 23 price:[20 TO 40] -> 42 price:[40 TO *] -> 33 if prices are between 0 and 60