On 4/25/2017 4:46 AM, Saman Rasheed wrote:
> what i'm looking for is syntax similair to: 'termfreq(content,*house*)'
> which doesnt work.

I doubt this function knows how to deal with wildcards.  It sounds like
it can only do exact terms.

One option you have is to use the /terms handler with the terms.regex
parameter to get a list all terms that match the regex with their
counts, and add up the numbers on the client side.

Here's some documentation on the Terms Component and the /terms handler
that uses it:

https://cwiki.apache.org/confluence/display/solr/The+Terms+Component

Thanks,
Shawn

Reply via email to