Thanks it worked... with some innovations of my own. :)

On Thu, Apr 8, 2010 at 2:25 PM, Markus Jelsma <mar...@buyways.nl> wrote:

> Hi,
>
>
> It's simpler than you might think :)
>
> ?q=*:*&facet=true&facet.field=buzzWord&rows=0
>
> This will retrieve an overall facet count (useful for navigation and tag
> cloud
> generation) but doesn't return the documents themselves. Check the
> facetting
> wiki [1] for more information.
>
>
>
> [1]: http://wiki.apache.org/solr/SimpleFacetParameters
>
>
> Cheers
>
>
>
>
> On Thursday 08 April 2010 10:47:19 Ninad Raut wrote:
> > Hi Markus,
> >
> > But the problem is, we donot know the words before hand. What will be the
> > facet Query be?
> >
> > If you can just explain me with an example it would be really nice of
> you.
> >
> > Regards,
> > Ninad R
> >
> > On Thu, Apr 8, 2010 at 2:09 PM, Markus Jelsma <mar...@buyways.nl> wrote:
> > > The facetting engine can do this job.
> > >
> > > On Thursday 08 April 2010 10:16:09 Ninad Raut wrote:
> > > > Hi,
> > > >
> > > > I have a business use case where in I have to generate a tagcloud for
> > >
> > > words
> > >
> > > > with freequency greater than a specified threshold.
> > > >
> > > > The way I store records in solr is :
> > > > For every solr document (which includes content) I store mutlivalued
> > >
> > > entry
> > >
> > > > of buzzwords with  their frequency.
> > > >
> > > > The technical problem I face is :
> > > > While generating a tag cloud I donot know the buzzwords before hand.
> > > > Morover I want the frequecy total for a Buzzword across documents.
> > > >
> > > > In SQL the way to do is:
> > > >
> > > > Select buzzWord, sum(frequency)
> > > > from Verbatim
> > > > where count(frequency)>thresholdValue
> > > > group by  buzzWord
> > > >
> > > > Is there a similar way I can query a SOLR. Even a workaround solution
> > > > to this will do.
> > > >
> > > >
> > > > Thanks.
> > > >
> > > > Regards,
> > > > Ninad R
> > >
> > > Markus Jelsma - Technisch Architect - Buyways BV
> > > http://www.linkedin.com/in/markus17
> > > 050-8536620 / 06-50258350
> >
>
> Markus Jelsma - Technisch Architect - Buyways BV
> http://www.linkedin.com/in/markus17
> 050-8536620 / 06-50258350
>
>

Reply via email to