SOLR-11033: introduce multilingual configset #5370
All Vouch review confidence checks passed
Residual risk 0.35 = Change Risk (0.66) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.66 · 357 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.352
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.066
Real PR Conversation Timeline
1 comments
"Review active on #5370"
general
weight: 0.35
nick-boss-tech
https://issues.apache.org/jira/browse/SOLR-11033
Description
Move built-in language-specific text analysis out of
_defaultinto a new_multilingualconfigset. New collections using_defaultget general-purpose field types; collections needing types such astext_enor dynamic fields such as*_txt_frcan select_multilingual. Existing ZooKeeper configsets and collections remain unchanged.Even better, you can use teh Schema Designer to pick your languages (driven by the new
_multilingualconfigset and add those fields to your own configset! imagine if we offered lots of sample configsets that you cherry picked to make your configset?also some improvements in schema designer, the big one being the list of languages is now not hardcoded.
Related: #971.
Solution
_multilingual, using the current schemas and dictionaries._multilingual's generic analyzers free of stopword removal and synonym expansion. Stopwords and synonyms use language-specific files underlang/;_defaultkeeps its existing generic resources._multilingualwhen installed locally and absent from ZooKeeper, preserving existing configsets. Follow_default's startup upload path without expanding CoreContainer's filesystem allowlist._multilingualwhile preserving custom source definitions and files. Generic schema editing also works when_multilingualis absent._multilingualschema in ZooKeeper, using Java locale names. Usecsfor Czech field types, dynamic fields, and resources in the new configset._defaultin the slim distribution; include_multilingualand the techproducts configset in the full distribution.Developed with assistance from OpenAI Codex.
Tests
./gradlew tidyand./gradlew check -x testpassed._multilingualconfigset.CreateCollectionTestandZkTest: all 24 tests passed, including creating a_multilingualcollection and indexing and querying French text._default; full contains_default,_multilingual, andsample_techproducts_configs.