apache / apache/lucene

Egothor Stemmer Bug for Optimizing (removing holes in the rows) for the given Trie [LUCENE-5521]

Open
#6,584 1 comment 0 reactions 0 assignees View on GitHub
affects-version:4.6.1 affects-version:4.7 legacy-jira-fix-version:4.9 legacy-jira-fix-version:6.0 legacy-jira-priority:Minor type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

main method at Compile.java has that lines:

```Java
args[0].toUpperCase(Locale.ROOT);
```

I've fixed it with #6569 However optimize method does not work correctly and TestCompile.java throws error.

---
Migrated from [LUCENE-5521](https://issues.apache.org/jira/browse/LUCENE-5521) by Furkan Kamaci, updated May 09 2016
Linked issues:
- #6569

Contributor guide

Open the contributing guide

Research direction

Start with the main method in Compile.java and the failing TestCompile.java test, then inspect the optimize method and the linked issue #6569 for context. Reproduce the TestCompile failure first; done means the optimize method correctly removes holes in the given Trie and TestCompile.java no longer throws the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.