Re: Faceted search in OR

2013-01-29 Thread Nicola Buso
Hi Michael, I'm looking into implementing a solution. On Fri, 2013-01-25 at 16:23 -0500, Michael McCandless wrote: > On Fri, Jan 25, 2013 at 3:48 PM, Nicola Buso wrote: > > > if you have experiences in this use case can you share solutions? What > > is reusable from Lucene 4.x implementation? >

Re: Faceted search in OR

2013-01-25 Thread Michael McCandless
On Fri, Jan 25, 2013 at 3:48 PM, Nicola Buso wrote: > if you have experiences in this use case can you share solutions? What > is reusable from Lucene 4.x implementation? Sorry, no experience doing drill sideways w/ Lucene facets ... just in a prior life (another search engine). One conceptual

Re: Faceted search in OR

2013-01-25 Thread Nicola Buso
Hi Mike, if you have experiences in this use case can you share solutions? What is reusable from Lucene 4.x implementation? Reading some books I just noticed that the expected behaviour for an user filtering by facets is: - facet values in the same facet group (category in lucene) are added in OR

Re: Faceted search in OR

2013-01-25 Thread Michael McCandless
I think that was supposed to be A/1 and A/3 in the last sentence below? But, anyway, I think the question (and it's a good one!) is how, after having drilled down on one of these, eg A/1, would you then still show the counts for the other A/N categories? Ie the counts would show how many hits the

Re: Faceted search in OR

2013-01-25 Thread Shai Erera
Ooops, I just realized that at some point java-user was removed from the CC :). Fixing that. Shai On Fri, Jan 25, 2013 at 2:27 PM, Shai Erera wrote: > Hi Nicola, > > Indeed, if it's a URL with parameters, it's not a UI trick :). I think > that you can do what you want with the package, but bef

Re: Faceted search in OR

2013-01-24 Thread Nicola Buso
Hi Shai, the use case is simple. Suppose you want to buy an hi-fi on a online shop. Go in the website in the Electronic department and write "hi-fi" in the search box, the interface return you lots of results and a facet on brands (10 brands values). You select brand A and the results are filtered

Re: Faceted search in OR

2013-01-24 Thread Shai Erera
Hi Nicola, Regarding the OR drill-down, yes you can construct your own BooleanQuery, passing Occur.SHOULD instead of MUST. Currently DrillDown does not help you do that, so you can copy the code from DrillDown.query and change SHOULD to MUST. I opened LUCENE-4716 to add this support to DrillDown.

Faceted search in OR

2013-01-24 Thread Nicola Buso
Hi all, I'm introducing Lucene faceted search in our project and I need some hints to achieve some functionalities: - I want facet filtering in OR, how to? - obtain facets for the filtered results but also for the non filtered one. i.e. I have facet A with values A/V1, A/V2, A/V3 and these value