lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: categorizing results
Date Sun, 18 Mar 2007 13:28:46 GMT
You might also want to search the mail archive for
"faceted search" and/or Categories. This topic has been discussed
under that heading, I believe...

Erick

On 3/18/07, Dima May <dimamay@gmail.com> wrote:
>
> <java-user@lucene.apache.org>
>
> I have a Lucene related questions/problem.
>
> My search results can potentially get very large 200,000+. I want to
> categorize my results. So for example if I have an indexed field "type"
> that
> has such things as CDs, books, videos, power drills, or anything else in
> the
> world, I would want to display how many results are found for each unique
> "type". So I may get 200 CDs and 3000 books and so on.
>
> The brute-force way of doing that is traversing the returned
> documents/results and counting each unique type. Unfortunately this
> solution
> is too slow. I am having trouble figuring out a faster approach and was
> hoping someone can suggest one.
>
> Thank you for your time.
>
> Dima
>

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