Hi, I don't use Carls Plugin, but here some ideas for resolving issue: - Make sure you use utf-8 analyzer:
$analyzer = new Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num(); Zend_Search_Lucene_Analysis_Analyzer::setDefault($analyzer, $analyzer); - if you are lowercasing your strings, which makes sense, make sure you use mb_strlower - instead of giving the query parser the locale try: Zend_Search_Lucene_Search_QueryParser::setDefaultEncoding("UTF-8"); - wehen creating your documents make sure the encoding is correct there as well: $titleField = Zend_Search_Lucene_Field::Text('title', mb_strtolower($this->getRawTitle(),"UTF-8"),"UTF-8"); Last but not least: Check out my blog entry on this mess :-) http://blog.hma-info.de/2007/09/15/integrating-lucene-into-symfony-a-wrap-up / this works for me. While developing this solution I also came across all the exceptions and issues you list. Another good idea is to check your index manually. Unfortunatly the tool has some utf-8 issues :-) But give it a try (java based) http://www.getopt.org/luke/ Hope I could help .: Fabian -----Original Message----- From: [EMAIL PROTECTED] om [mailto:[EMAIL PROTECTED] groups.com] On Behalf Of Nicolas Sent: Donnerstag, 24. Januar 2008 18:33 To: symfony users Subject: [symfony-users] Re: sfLucenePlugin search problem Just a precision, about my problem with the accents. I had an exception : Notice: iconv_strlen() [function.iconv-strlen]: Detected an illegal character in input string in /var/www/adlm/plugins/sfLucenePlugin/lib/ vendor/Zend/Search/Lucene/Search/QueryLexer.php on line 346 I have change in the lib/util/sfLuceneCriteria.class.php line 55 from $query = Zend_Search_Lucene_Search_QueryParser::parse($query); to $query = Zend_Search_Lucene_Search_QueryParser::parse($query, 'UTF-8'); And i have this problem, but now i have no exeption of iconv_strlen() : > I can't find them, for exemple, if i search "range", the search engine > find a product with the keyword "rangé" and if i search "rangé", > sfLucene find nothing! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---