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 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.