Thank you for the answer and heading me to this solution. But I've already used this filter for index analysis and I'm not getting any result. So I don't understand why I'm not getting the result. If I use the Analysis tool, I'm gettin So, maybe the problem is other? But I don't see what can be the problem, because, when using the Analysis took I got the same result for index and query: (the entry to this filter was employing carer)
*PSF (Index)* *PSF (query)* text emploi carer text emploi carer raw_bytes [65 6d 70 6c 6f 69] [63 61 72 65 72] raw_bytes [65 6d 70 6c 6f 69] [63 61 72 65 72] start 0 12 start 0 12 end 9 17 end 9 17 positionLength 1 1 positionLength 1 1 type <ALPHANUM> <ALPHANUM> type <ALPHANUM> <ALPHANUM> position 1 3 position 1 3 keyword FALSE FALSE keyword FALSE FALSE On Fri, 1 Mar 2019 at 15:51, Shawn Heisey <apa...@elyograg.org> wrote: > On 3/1/2019 4:38 AM, Marisol Redondo wrote: > > When using the PorterStemFilter, I saw that the work "employing" is > change > > to "emploi" and my document is not found in the query to solr because of > > that. > > > > This also happens with other words that finish in -ying as annoying or > > deploying. > > > > It there any path for this filter or should I create a new Jira issue? > > > When you are using a stemming filter, you will need to use the same > filter on both the query analysis and the index analysis, so that > similar words are stemmed to the same root in both cases, leading to > matches. > > If the other steps in your analysis chain are changing the words so that > the stemming filter cannot recognize the word, that might also cause > problems. > > Thanks, > Shawn >