Re: Dynamically calculated range facet

2009-02-19 Thread Rohit Gandhe
I know this is an old thread, but I am not sure if this thread concluded with any concrete result. Martin, I see you started some changes to Solr Code in "RangeRequestHandler". Did you ever release them as a patch? Has anybody been working on this issue. I read through most of Hossman's posts an

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 facet for that in the

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/faceted-browsing-t136385

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