Thanks for the reply. Actaully I've always used termfreq to get word counts
for 2- , 3- and 4- word keywords.
we use shingles to accomplish this. (ShingleFactory)
On Wed, Apr 5, 2017 at 12:17 AM, Erick Erickson
wrote:
> Functions like termfreq operate on single terms post analysis
>
> Since it'
Functions like termfreq operate on single terms post analysis
Since it's an analyzed field you have no _term_ "bachelor's degree" or
even "bachelor degree" in the field. You have two terms, "bachelor"
and "degree". This also assumes that by "zero results" you mean you
get no frequency information
Hi Everyone,
I have a document that contains data like this "Bachelor's degree is easier
to get" in the 'body' field and I am making a query on this field searching
for word 'Bachelor's degree' like this - query?fq=body:"bachelor%27s%
20degree"&fl=body_frequency:termfreq(body,"bachelor%27s%20degre