Hi again In fact I know how to find that with Lucene. My Question was : Is it possible to do similar filter with the ContainerFilterBean.
If not I will use Lucene. Thanks Nicolas -----Message d'origine----- De : Xavier Lawrence [mailto:[EMAIL PROTECTED] Envoyé : jeudi 28 juillet 2005 10:15 À : [email protected] Objet : Re: ContainerFilter Hi Nicolas, If you want to find "Nicolas" and enter "Nico" in the search box, for Lucene to return you the correct result you have to type in "Nico*". cf. http://lucene.apache.org/java/docs/queryparsersyntax.html Xavier Le 09:55 28.07.2005, vous avez écrit: >Hello all > >I just try to use the ContainerFilterBean. > >I want to know if it's possible to have fuzzy search with this API. >In fact I use the constant: ContainerFilterBean.COMP_EQUAL or other but I >didn't find the possibility to search a part of the name. > >For an example: > >I have Nicolas in my container. > >If I add a filter with Nicolas, no answers have return, same with Nico... >It's work only if I have the correct name. > >Is anyone known if it's possible or I should use Lucene to do that? > >Thanks for your answers. > >Nicolas ------------------=[ xlawrence at jahia dot com ]=-------------------- Computer Science Engineer, Master's Degree Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company www.collaborativesource.org Jahia's collaborative license Jahia Solutions Rue de la gare 45 Ch-1260 Nyon, Switzerland Phone: +41 22 361 34 24 Fax : +41 22 361 36 40
