lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject Re: search binning support
Date Wed, 11 Oct 2006 07:00:38 GMT
Try searching for "facet" or "faceted browsing" in Lucene mailing lists and
also in Solr, e.g.
http://www.nabble.com/forum/Search.jtp?forum=44&local=y&query=facet

"Yu-Hui Jin" <yuhui.jin@gmail.com> wrote on 10/10/2006 17:27:55:

> Say I have N categories, each item is assigned to one or more categories.
> And i want the search results being counted against each of the
categories.
>
> I checked the Lucene in Action book, and there doesn't seem to be this
> feature. So is there any plan to add binning to Lucene?
>
> It looks like this involves modifying part of the Lucene's
implementation,
> in that, we can:
>
> - specify which index field is used as the binning field.
> - after we grab the doc-id list, we perform N intersections just to get
the
> count:  each intersection is performed on the result doc-id list and the
> doc-id list for all items assigned to a category.
>
> Is there any better approach to do that? or any optimizations to this?
>
>
> thanks,
>
> -Hui


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message