Re: ContainerFilter
Xavier Lawrence <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
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 its possible to have fuzzy search with this API. >In fact I use the constant: ContainerFilterBean.COMP_EQUAL or other but I >didnt 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... >Its work only if I have the correct name. > >Is anyone known if its 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