G, Rajesh <r...@cebglobal.com> wrote:
> Thanks Toke. The issue I have is I cannot look for a specific word e.g. ddr
> in termfreq(%27name%27,%20%27ddr%27). I have to find count of all words
> and their sum

Is that really the case? As your field is a comment field, your word cloud 
could easily contain tens or hundreds of thousands of words. That is pretty 
hard to display. Normally a word cloud consists of a small amount of words, 
just as seen in the example you link to. The point of using facet + stats is 
that facets gives you a rough list and stats gives you the real count.

If a usable word cloud consists of 50 words, you could use something like 
facet.limit=200 and feed those to your stats-request, then only use the top-50 
from there. I know that it does not guarantee that the words are the correct 
ones, but you can experiment with the facet.limit until you get a proper 
speed/accurracy trade-off.

- Toke Eskildsen

Reply via email to