Re: [hibernate-dev] HSEARCH Faceting and facet counts
On 31 Jan 2013, at 11:32 PM, Emmanuel Bernard wrote: > I know we had a debate but I can't seem to find any detail in the > documentation about how facet selection influences the facet counts. > > In my demo, the facet count is applied after the selection. ie if I do a > query that returns '< $100' = 20 and '> $100' = 45, once I select '< > $100', the count displayed on '> $100' = 0 which is very weird from a > use point of view. > > That seems to be the expected behavior according to > https://hibernate.atlassian.net/browse/HSEARCH-713 but my first reaction > was that it was a bug. > Should we clarify that in the documentation? +1 Since you already raised several questions regarding the docs, I think we should revisit the whole chapter. So far it is quite short and imo not detailed enough. > And implement the more natural way? Not sure about the "more natural" part, but maybe we can have both. --Hardy ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] HSEARCH Faceting and facet counts
On 3 June 2013 09:59, Hardy Ferentschik wrote: > > On 31 Jan 2013, at 11:32 PM, Emmanuel Bernard wrote: > >> I know we had a debate but I can't seem to find any detail in the >> documentation about how facet selection influences the facet counts. >> >> In my demo, the facet count is applied after the selection. ie if I do a >> query that returns '< $100' = 20 and '> $100' = 45, once I select '< >> $100', the count displayed on '> $100' = 0 which is very weird from a >> use point of view. Right that looks weird, but shouldn't you be hiding the other facets after having selected one? I would expect a UI to potentially show new sub-facets only, to allow a user to drill into more details. >> >> That seems to be the expected behavior according to >> https://hibernate.atlassian.net/browse/HSEARCH-713 but my first reaction >> was that it was a bug. >> Should we clarify that in the documentation? > > +1 Since you already raised several questions regarding the docs, I think we > should > revisit the whole chapter. So far it is quite short and imo not detailed > enough. > >> And implement the more natural way? > > Not sure about the "more natural" part, but maybe we can have both. > > --Hardy > ___ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] HSEARCH Faceting and facet counts
On Mon 2013-06-03 10:28, Sanne Grinovero wrote: > On 3 June 2013 09:59, Hardy Ferentschik wrote: > > > > On 31 Jan 2013, at 11:32 PM, Emmanuel Bernard > > wrote: > > > >> I know we had a debate but I can't seem to find any detail in the > >> documentation about how facet selection influences the facet counts. > >> > >> In my demo, the facet count is applied after the selection. ie if I do a > >> query that returns '< $100' = 20 and '> $100' = 45, once I select '< > >> $100', the count displayed on '> $100' = 0 which is very weird from a > >> use point of view. > > Right that looks weird, but shouldn't you be hiding the other facets > after having selected one? > I would expect a UI to potentially show new sub-facets only, to allow > a user to drill into more details. The thing is, if you select a price range, you want to be able to select the other price range, so you can't "hide it". Play a bit with Amazon's version http://www.amazon.com/s/ref=sr_nr_p_n_size_browse-bin_3?rh=n%3A3151491%2Ck%3AUSB%2Cp_n_size_browse-bin%3A1259713011&keywords=USB&ie=UTF8&qid=1370264935&rnid=1259751011 ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] HSEARCH Faceting and facet counts
oh, I actually played with the Amazon site before replying to you and the quick (too brief) experiments I had done seemed to endorse my theory. After a better look now, it seems they apply a different strategy depending on the selection; I think the way they do it makes sense but it's impressive that the user is fooled into a non-consistent API, and it still "feels" like all is consistent. On 3 June 2013 14:10, Emmanuel Bernard wrote: > On Mon 2013-06-03 10:28, Sanne Grinovero wrote: >> On 3 June 2013 09:59, Hardy Ferentschik wrote: >> > >> > On 31 Jan 2013, at 11:32 PM, Emmanuel Bernard >> > wrote: >> > >> >> I know we had a debate but I can't seem to find any detail in the >> >> documentation about how facet selection influences the facet counts. >> >> >> >> In my demo, the facet count is applied after the selection. ie if I do a >> >> query that returns '< $100' = 20 and '> $100' = 45, once I select '< >> >> $100', the count displayed on '> $100' = 0 which is very weird from a >> >> use point of view. >> >> Right that looks weird, but shouldn't you be hiding the other facets >> after having selected one? >> I would expect a UI to potentially show new sub-facets only, to allow >> a user to drill into more details. > > The thing is, if you select a price range, you want to be able to select > the other price range, so you can't "hide it". > > Play a bit with Amazon's version > http://www.amazon.com/s/ref=sr_nr_p_n_size_browse-bin_3?rh=n%3A3151491%2Ck%3AUSB%2Cp_n_size_browse-bin%3A1259713011&keywords=USB&ie=UTF8&qid=1370264935&rnid=1259751011 ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] HSEARCH Faceting and facet counts
>From what I understand, they do the following: - each facet group offer the list of facets and the number of elements in each facet as if none of the facet for that group is selected. - if a given facet group A has some facets selected, then the other facet groups and their facet list and numbers are filtered by the facet group A. That's consistent to me and what I would expect intuitively before thinking about implementation details. They also allow to select multiple facets for a given facet group but that's an orthogonal story. Emmanuel On Mon 2013-06-03 16:27, Sanne Grinovero wrote: > oh, I actually played with the Amazon site before replying to you and > the quick (too brief) experiments I had done seemed to endorse my > theory. > > After a better look now, it seems they apply a different strategy > depending on the selection; I think the way they do it makes sense but > it's impressive that the user is fooled into a non-consistent API, and > it still "feels" like all is consistent. > > On 3 June 2013 14:10, Emmanuel Bernard wrote: > > On Mon 2013-06-03 10:28, Sanne Grinovero wrote: > >> On 3 June 2013 09:59, Hardy Ferentschik wrote: > >> > > >> > On 31 Jan 2013, at 11:32 PM, Emmanuel Bernard > >> > wrote: > >> > > >> >> I know we had a debate but I can't seem to find any detail in the > >> >> documentation about how facet selection influences the facet counts. > >> >> > >> >> In my demo, the facet count is applied after the selection. ie if I do a > >> >> query that returns '< $100' = 20 and '> $100' = 45, once I select '< > >> >> $100', the count displayed on '> $100' = 0 which is very weird from a > >> >> use point of view. > >> > >> Right that looks weird, but shouldn't you be hiding the other facets > >> after having selected one? > >> I would expect a UI to potentially show new sub-facets only, to allow > >> a user to drill into more details. > > > > The thing is, if you select a price range, you want to be able to select > > the other price range, so you can't "hide it". > > > > Play a bit with Amazon's version > > http://www.amazon.com/s/ref=sr_nr_p_n_size_browse-bin_3?rh=n%3A3151491%2Ck%3AUSB%2Cp_n_size_browse-bin%3A1259713011&keywords=USB&ie=UTF8&qid=1370264935&rnid=1259751011 ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev