Try to put your search query betweem commas. $query = ' " ' .$query.' " '; $hits = $index->find($query);
On 27 Maio, 10:55, Carlos Jorge Andrade <carlos.andr...@gmail.com> wrote: > Hi, > > Anyone who uses Zend_Lucene can confirm that it doesn't search for > escaped query terms ? > There's a section on the manual that talks about this (Escaping > Special Characters), and mentions that you only need to place the > usual \ before de character... but Zend_Lucene is just ignoring it. > Trying to search for 'c++' ou '2+2' just gives wired results... > escaping the '+' character makes to difference. > > Anyone with the same problem ? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en