lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@gmail.com>
Subject Re: Clustering with Lucene?
Date Tue, 26 Apr 2011 19:02:18 GMT
> 1) We index around 20 fields, of that we want to have grouping option
> for five of them. For ex., user can search on name of the city and we
> should have option to group by products available in that city (and
> vice-versa).
>

Are these fields stricly defined or free text? Because if they are
product/dictionary fields then what you're looking for is not text
clustering, but faceting and the solution is to use either SOLR or its
components for doing exactly this.


> 2) We also need an aggregation facility, which would allow to
> aggregate certain field value from that group. For ex., sum the qty
> for all the products in a category. The aggregation may not be part of
> clustering, but could be something add-on to it.
>

This definitely looks like faceting. Take a look at Solr's faceting
functionality -- I think this will solve your problem.

Dawid

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