Re: Is it possible to add stemming in a text_exact field

2020-02-25 Thread Paras Lehana
Hi Dhanesh, Use KeywordRepeatFilterFactory . It will emit each token twice and marking one of them as KEYWORD so stemming won't work on that token. Use RemoveDuplicates to remove the duplicates after this.

Re: Is it possible to add stemming in a text_exact field

2020-01-24 Thread Lucky Sharma
Hi Dhanesh, I have also encountered the problem long back when we have 'skimmed milk' and need to search for 'skim milk', for that we have written one filter, such that we can customize it, and then use KStemmer, then apply the custom ConcatPhraseFilterFactory. You can use the link mentioned below

Re: Is it possible to add stemming in a text_exact field

2020-01-23 Thread Alessandro Benedetti
Edward is correct, furthermore using a stemmer in an analysis chain that don't tokenise is going to work just for single term queries and single term field values... Not sure it was intended ... Cheers -- Alessandro Benedetti Search Consultant, R&D Software Engineer, Dire

Re: Is it possible to add stemming in a text_exact field

2020-01-22 Thread Edward Ribeiro
Hi, One possible solution would be to create a second field (e.g., text_general) that uses DefaultTokenizer, or other tokenizer that breaks the string into tokens, and use a copyField to copy the content from text_exact to text_general. Then, you can use edismax parser to search both fields, but g