Hi,

another way is to use facets for the tagcloud as we did it in jetwick. Every document then needs a tag field (multivalued).

See:
https://github.com/karussell/Jetwick/blob/master/src/main/java/de/jetwick/ui/TagCloudPanel.java

for an example with wicket and SolrJ. With that you could also get phrases, I think.

Regards,
Peter.

Hi,

If you go to http://search-lucene.com and start typing Tagcl , the AutoComplete
functionality will point you to one way of doing this:
http://search-lucene.com/m/xqRF4Pd6ec1 .  That's at the Lucene level.  At Solr
level, you can use TermsComponent - http://wiki.apache.org/solr/TermsComponent
.  This will get you "tags" that map to tokens.  To get phrases in your tag
cloud, this can help:
http://sematext.com/products/key-phrase-extractor/index.html .  Here's a related
presentation:
http://blog.sematext.com/2010/10/19/key-phrases-for-better-search-smart-content-presentation/


Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
From: Pawan Darira<pawan.dar...@gmail.com>
To: Solr Users<solr-user@lucene.apache.org>
Sent: Wed, November 24, 2010 12:10:12 AM
Subject: How to generate tag cloud in SOLR?

Hi

Is there a way out in SOLR/lucene to generate a tag cloud?

--
Thanks,
Pawan Darira



--
http://jetwick.com twitter search prototype

Reply via email to