modify oracle lexer name Fixes #15106 #15108
Merged
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.
Summary
Change default oracle lexer from "CHINESE_VGRAM_LEXER" to "WORLD_LEXER".
Change default name form "multilingual_lexer" to "world_lexer" to avoid confusing.
Cause there are WORLD_LEXER and MULTI_LEXER, compared them, I think WORLD_LEXER is better than MULTI_LEXER.
Oralce docs about WORLD_LEXER and MULTI_LEXER for reference.
WORLD_LEXER:
https://docs.oracle.com/en/database/oracle/oracle-database/21/ccref/oracle-text-indexing-elements.html#GUID-FA7DB079-3247-49DB-A9F9-067F6281F879
MULTI_LEXER:
https://docs.oracle.com/en/database/oracle/oracle-database/21/ccref/oracle-text-indexing-elements.html#GUID-93B17833-A046-468C-BE5F-2BD09A61935C
Fixes #15106
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods