I have been using lucene
for text search in Danish language.
I have tried to implement something similar to "symbols synonym". I searched through lucene
documentation but cannot find any Analyzer implementation that could help to search like this.
Text should be searched using this symbol synonym map: ø -> [ø, o, oe] å -> [å, a, aa] æ -> [æ, ae]
So word økse
should be found using all following: økse
, okse
, oekse
.
I would appreciate any help.
check out:
At least one of them, or maybe both, should work
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.