apache / apache/lucene

RussianLightStemmer incorrectly handles the words ending with 'ее' [LUCENE-6137]

Open
#7,199 8 comments 0 reactions 0 assignees View on GitHub
affects-version:4.10.2 legacy-jira-priority:Major type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Consider the forms of Russian word "синий" and the result returned by RussianLightStemmer:

синий -> син
синяя -> син
синее -> сине
синие -> син

I think the correct result should be:

синий -> син
синяя -> син
синее -> син
синие -> син

---
Migrated from [LUCENE-6137](https://issues.apache.org/jira/browse/LUCENE-6137) by Alexander Sofronov, 1 vote, updated Jan 01 2015
Attachments: [LUCENE-6137.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-6137/LUCENE-6137.patch)

Contributor guide

Open the contributing guide

Research direction

Start at the Java RussianLightStemmer implementation and reproduce the four Russian word forms from the issue. Verify the stemming behavior with the project's relevant stemmer tests; done means both "синее" and "синие" produce "син", alongside the other expected results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.