Re: Fq and termfrequency are not showing the correct results

2017-04-04 Thread Ayush Gupta
gt; > 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 freq

Fwd: Fq and termfrequency are not showing the correct results

2017-04-04 Thread Ayush Gupta
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