-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Upgrade] Lucene 9.0.0 release #1109
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bbdf6b2
[Remove] types from UID and remaining types in translog
nknize 56d9324
fix failing test
nknize 66ea3d7
[Upgrade] Lucene 9.0.0
nknize f8e21b5
Fixing JDK-11 and HighlighterSearchIT::testPostingsHighlighter
reta 360c7d2
More highlighter-related test fixes (#2)
reta 9488339
cleanup and test fixes
nknize 1388897
remove AwaitsFix from CustomUnifiedHighlighterTests
nknize e7af399
PluginsServiceTests is passing (#3)
reta d35292a
merge removals
nknize f080199
Revert "PluginsServiceTests is passing (#3)"
nknize 451a409
add spdx header to lucene copied files
nknize File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
11 | ||
11 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,13 +110,15 @@ protected Map<String, Class<?>> getTokenFilters() { | |
filters.put("latvianstem", StemmerTokenFilterFactory.class); | ||
filters.put("norwegianlightstem", StemmerTokenFilterFactory.class); | ||
filters.put("norwegianminimalstem", StemmerTokenFilterFactory.class); | ||
filters.put("norwegiannormalization", Void.class); | ||
filters.put("portuguesestem", StemmerTokenFilterFactory.class); | ||
filters.put("portugueselightstem", StemmerTokenFilterFactory.class); | ||
filters.put("portugueseminimalstem", StemmerTokenFilterFactory.class); | ||
filters.put("russianlightstem", StemmerTokenFilterFactory.class); | ||
filters.put("soranistem", StemmerTokenFilterFactory.class); | ||
filters.put("spanishlightstem", StemmerTokenFilterFactory.class); | ||
filters.put("swedishlightstem", StemmerTokenFilterFactory.class); | ||
filters.put("swedishminimalstem", Void.class); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. May be we could add |
||
filters.put("stemmeroverride", StemmerOverrideTokenFilterFactory.class); | ||
filters.put("kstem", KStemTokenFilterFactory.class); | ||
filters.put("synonym", SynonymTokenFilterFactory.class); | ||
|
@@ -242,7 +244,7 @@ protected Map<String, Class<?>> getPreConfiguredTokenizers() { | |
tokenizers.put("keyword", null); | ||
tokenizers.put("lowercase", Void.class); | ||
tokenizers.put("classic", null); | ||
tokenizers.put("uax_url_email", org.apache.lucene.analysis.standard.UAX29URLEmailTokenizerFactory.class); | ||
tokenizers.put("uax_url_email", org.apache.lucene.analysis.email.UAX29URLEmailTokenizerFactory.class); | ||
tokenizers.put("path_hierarchy", null); | ||
tokenizers.put("letter", null); | ||
tokenizers.put("whitespace", null); | ||
|
This file contains 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
1 change: 0 additions & 1 deletion
1
modules/lang-expression/licenses/lucene-expressions-8.10.1.jar.sha1
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
modules/lang-expression/licenses/lucene-expressions-9.0.0.jar.sha1
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0a3d818d6f6fb113831ed34553b24763fbda1e84 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nknize I am concerned that using
EndiannessReverserUtil.wrapDataXxx
would (potentially) generate temporaryEndiannessReverserDataOutput
/EndiannessReverserDataInput
wrappers ("garbage"), taking into account how often they are called, it may add up unnecessary pressure to GC. Wdyt?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this isn't the most ideal but it's only used in the KeyStoreWrapperTests and not actually in any critical path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For tests - totally agree, but Checkpoint also use wrapping, https://github.com/opensearch-project/OpenSearch/pull/1109/files#diff-f916f3d153eb8dada3c8be868ae55d050b1f24ce02343cea642f12bb0b0b8635R158, anyway probably not much we can do about that :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes. (been working this PR for a while). Not much we can do about that since the Endianness change. Fortunately that's for BWC so should only be used during rolling upgrades then the new version will take over.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:+1 thanks!