开发者

Zend_Search_Lucene & accents

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜