开发者

Zend_Search_Lucene & accents

开发者 https://www.devze.com 2022-12-13 00:53 出处:网络
Is it possible search accented text with Zend_Search_Lucene? I indexed accented text but the search doesn\'t find it.

Is it possible search accented text with Zend_Search_Lucene? I indexed accented text but the search doesn't find it.

A roundabout solution can be that I deaccent the text before indexing and also deaccen开发者_运维百科t the query string. But it doesn't seam to be an elegant solution.

Any idea?


It is probably due to the text analyzer. You should use one that supports utf8 as the default one converts all text to ascii

0

精彩评论

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