Re: Stemming - How to add tokens and dont replace the existing tokens?

2011-12-05 Thread Mark Schoy
Hi Marian,

thanks for your answer.
Using a copyField is a good idea.

Mark

2011/12/5 Marian Steinbach :
> 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 
>
>> 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.
>>


Re: Stemming - How to add tokens and dont replace the existing tokens?

2011-12-05 Thread Marian Steinbach
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 

> 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.
>


Stemming - How to add tokens and dont replace the existing tokens?

2011-12-05 Thread Mark Schoy
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.