Sounds like you want facets. Google "lucene facets" or browse back through the archives of this list - there was some discussion quite recently. Or use Solr which will do pretty much all of it for you.
-- Ian. On Mon, Sep 6, 2010 at 5:28 PM, <app...@dsl.pipex.com> wrote: > Hello > > I'm a Lucene newbie and I have it working where I can create an index from a > column of a database table storing > tags, and search this index for a particular tag and display the results and > their scores. I'm looking at this as an > alternative to a MySQL fulltext index which I've heard mixed comments about. > > But, what I want is to get from the most popular tags in the index along with > their counts and then use this data to > create a tagcloud. > > Does anyone know if and how Lucene can be queried to get the most popular > tags in an index and their counts at all? > > Thanks > > Mr Morgan. > > -- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org