开发者

Lucene sorting chinese characters by strokes/radicals

开发者 https://www.devze.com 2023-01-31 14:32 出处:网络
Anyone know if Lucene\'s sort by field feature will sort chinese characters by strokes/radicals, or if there\'s a way to enable it do so? I couldn\'t find any 开发者_运维百科relevant answer in their d

Anyone know if Lucene's sort by field feature will sort chinese characters by strokes/radicals, or if there's a way to enable it do so? I couldn't find any 开发者_运维百科relevant answer in their docs.


Have a look at http://lucene.apache.org/java/3_0_3/api/contrib-collation/index.html, which describes how to use Collator order.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号