lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu-Hui Jin" <yuhui....@gmail.com>
Subject search binning support
Date Wed, 11 Oct 2006 00:27:55 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message