You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Bob Miller <bo...@yahoo.com> on 2010/10/20 18:12:00 UTC
Get number of hits for various combinations
Dear all,
I would like to use a tag cloud of keywords to narrow down the currently
displayed search results. In order to implement this, it must be possible to
determine the number of hits for the current search query combined with each
keyword in the tag cloud. What would be the most efficient method of doing
this? The index currently contains about 500000 documents. It is possible to
search within multiple fields.
Thanks,
Bob
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Get number of hits for various combinations
Posted by Pradeep Singh <pk...@gmail.com>.
Use Solr and look at faceting.
On Wed, Oct 20, 2010 at 9:12 AM, Bob Miller <bo...@yahoo.com> wrote:
> Dear all,
>
>
> I would like to use a tag cloud of keywords to narrow down the currently
> displayed search results. In order to implement this, it must be possible
> to
> determine the number of hits for the current search query combined with
> each
> keyword in the tag cloud. What would be the most efficient method of
> doing
> this? The index currently contains about 500000 documents. It is possible
> to
> search within multiple fields.
>
> Thanks,
>
> Bob
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>