Sorry, that mail got stuck in my outbox. Anyways. On a side-note, i think
it is called a search-cloud when refering to top-searches, and a tag-cloud
when refering to top-occuring terms in the corpus, as Chris said.
Since you are only after creating a search-cloud, i think my answer is a
pretty straightforward and simple (and fast) approach to doing so.
And as Chris mentions, if you want to create a tag cloud with those words
that are a.) occuring frequently in the corpus, or b.) more advanced,
those terms that are actually "important" to your corpus (score-based /
tf-idf etc.) you can simply use the TermsComponent. As the trunk version
of Solr introduces the TermVectorComponent, you can also retrieve
information for specific search-results etc.
Another thing you could do with your search-cloud is to for instance add a
date-dimension to the solr-index (where you store all the queries), and
then out of the box you get the possibility of creating
evolving-search-clouds! I.e., you can visualize how "what is being
searched for" changes over time! -> now thats a neat feature :) And best
of all - Solr gives you this for free with facets once you have those
queries indexed :)
Hope that helps!
Best regards,
Aleksander
On Fri, 27 Feb 2009 08:12:19 +0100, Aleksander M. Stensby
<[email protected]> wrote:
To do that, your best option is to do it "outside" of solr. I.e., when
someone enters a query in your webapplication, you store the search in
for instance a db (or even in a separate solr-index).
If you go with a solr-index for "queries", you can simply do facets on
the queries and for instance a facet.limit=50 (which will give you the
top 50 most frequently entered queries).
- Aleksander
On Thu, 26 Feb 2009 19:35:49 +0100, Emmanuel Castro Santana
<[email protected]> wrote:
Thanks the help
"... do a *:* search and then make tag clouds from all of the facets
..."
I may have not made myself clear. When I say keyword report, I mean a
kind
of a most popular tag cloud, showing in bigger sizes the most searched
terms. Therefore I need information about how many times specific terms
have
been searched and I can't see how I could accomplish that with this
solution....
Walter Underwood wrote:
Oops, missed that you wanted it by facet. Never mind. --wunder
On 2/26/09 9:57 AM, "Walter Underwood" <[email protected]> wrote:
That info is already available via Luke, right? --wunder
On 2/26/09 9:55 AM, "Robert Douglass" <[email protected]> wrote:
A solution that I'd considering implementing for Drupal's ApacheSolr
module is to do a *:* search and then make tag clouds from all of the
facets. Pretty easy to sort all the facet terms into bins based on
the
number of documents they match, and then to translate bins to font
sizes. Tag clouds make a nice alternate representation of facet
blocks.
Robert Douglass
The RobsHouse.net Newsletter:
http://robshouse.net/newsletter/robshousenet-newsletter
Follow me on Twitter: http://twitter.com/robertDouglass
On Feb 26, 2009, at 6:50 PM, Emmanuel Castro Santana wrote:
I am developing a Solr based search application and need to get a
kind of a
keyword report for tag cloud generation. If there is anyone here who
has
ever had that necessity and has somehow found the way through, I
would
really appreciate some help.
Thanks in advance
--
View this message in context:
http://www.nabble.com/Is-there-a-built-in-keyword-report-%28Tag-Cloud%29-fea>>>
t
ure-on-Solr---tp22229677p22229677.html
Sent from the Solr - Dev mailing list archive at Nabble.com.
--
Aleksander M. Stensby
Senior software developer
Integrasco A/S
www.integrasco.no
Please consider the environment before printing all or any of this e-mail