views:

104

answers:

1

Hi

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 deaccent the query string. But it doesn't seam to be an elegant solution.

Any idea?

+1  A: 

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

Yacoby