Remove EnglishStemAnalyzer#11301
Merged
Merged
Conversation
Siedlerchr
approved these changes
May 17, 2024
Siedlerchr
added a commit
that referenced
this pull request
May 19, 2024
* upstream/main: Update latex citations status in JavaFx thread (#11302) Remove EnglishStemAnalyzer and use EnglishAnalyzer (#11301) Fix comment (#11299) Try gradle build speedup (#11300) Remove obsolete step (#11295) Bump com.fasterxml.jackson.dataformat:jackson-dataformat-yaml (#11290) Remove outdated pdf indexed files from Lucene index (#11293) Bump src/main/resources/csl-styles from `5338902` to `434df0a` (#11292) Bump org.mockito:mockito-core from 5.11.0 to 5.12.0 (#11291) Bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310 (#11289) Bump com.dlsc.gemsfx:gemsfx from 2.12.0 to 2.16.0 (#11287) Bump org.openrewrite.recipe:rewrite-recipe-bom from 2.9.0 to 2.11.0 (#11288) Introduce formatter to remove word-enclosing braces (#11253) Try parallel tests (#9797) Store preview divider pos in entry editor (#11285)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An issue occurs when using a custom analyzer I don't know why it behaves differently from the built-in analyzers in Lucene, even though the implementation is the same.
The issue occurs when searching with uppercase letters with wildcard characters. The custom analyzer does not ignore the case sensitivity as expected.
To reproduce the issue:
Instead of using a custom analyzer, I used Lucene's
EnglishAnalyzer, which is very similar to the custom analyzer we used. The main difference is that the custom analyzer usesDecimalDigitFilter.I tried to use the exact same filters that the
EnglishAnalyzeruses, but the same issue persists.Lucene
EnglishAnalyzerimplementation:https://github.com/apache/lucene/blob/2c81649e284b1a1f3a4b46fd589befc87306d0dc/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/EnglishAnalyzer.java#L102-L110
Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if applicable)