Hi Mark!

You could help yourself with creating an additional field. One field would
hold the stemmed version and the other one would hold the unstemmed
version.

This would allow for a higher boost on the unstemmed field.

Use copyField for convenience to copy the content from one field to the
other one.

Marian


2011/12/5 Mark Schoy <[email protected]>

> Hi,
>
> I like to use the HunspellStemFilterFactory to improve my search results.
> Why isn't there an arg "inject" like in solr.PhoneticFilterFactory to
> add tokens instead of replacing them?
>
> I don't want to replace them, because documents with the "unstemmed"
> word should be more relevant.
>
> Thanks.
>

Reply via email to