Doh! I think I had answered my own question back last year:

http://qnalist.com/questions/6147365/term-frequency-with-stemming




*The only trick is, each term in a phrase has to be stemmed separately
(i.e."end-user experience" has to be broken down into "end-user" ->
"end-us" and"experience" -> "experi") before being passed, i.e.
termfreq(body, "end-usexperi").*


Akos (Aki) Balogh
Co-Founder / Chief Product Officer
https://www.MarketMuse.com

On Tue, Mar 8, 2016 at 1:14 PM, Aki Balogh <a...@marketmuse.com> wrote:

> Hi All,
>
> We're using solr termfreq to count raw term frequencies (i.e. the tf in
> tf-idf).
>
> This works fine on a regular text field.
>
> However, we have a field where we've added snowball stemmer.
>
> Should termfreq also work on a stemmed field?
>
> Right now, we're only getting data back on terms where the stemmed form is
> the same as the non-stemmed form.
>
> Thanks,
> Aki
>

Reply via email to