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" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]