twosom opened a new pull request, #14969: URL: https://github.com/apache/lucene/pull/14969
### Description ## Summary Adds metadata support to Nori Korean analyzer, allowing users to attach additional information to dictionary words. ## Changes - Added `MetadataAttribute` interface and implementation - Extended user dictionary format to support `word >> metadata` syntax - Preserves metadata during compound word decomposition - Maintains backward compatibility with existing dictionaries ## Example **Dictionary:** ``` 자바 >> computer language 엘라스틱서치 엘라스틱 서치 >> search engine ``` **Result:** - `자바` → Term: "자바", Metadata: "computer language" - `엘라스틱서치` → All decomposed terms ("엘라스틱서치", "엘라스틱", "서치") carry "search engine" metadata Fixes #14940 <!-- If this is your first contribution to Lucene, please make sure you have reviewed the contribution guide. https://github.com/apache/lucene/blob/main/CONTRIBUTING.md --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org