[opencms-dev] Searching with Lucene and special char (*)

Corsin Camichel cocaman at gmail.com
Wed Feb 15 15:24:04 CET 2006


Thanks Sigi

You are right:
http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-4d62118417eaef0dcb87f4370583f809848ea695
Note: Leading wildcards (e.g. *ook) are not supported by the QueryParser.

That is really bad news for me.

Regards
Corsin


On 2/15/06, Siegfried Puchbauer <siegfried.puchbauer at gmail.com> wrote:
> imho you can set the asterisk at the end of the search term, but not at the
> beginning. this is a limitation of lucene's query parser.
>
> hth
>
> sigi
>
>
> On 2/15/06, Corsin Camichel <cocaman at gmail.com> wrote:
> >
> > Hello List
> >
> > I try to create a serch form and I need to add the character * at the
> > beginning and the end of every query the user makes.
> >
> > Do I need to set some parameters to make this work?
> >
> > Thank you for your help in advance
> >
> > Corsin
> > --
> > Corsin Camichel
> > cocaman at gmail.com
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> >
>
>
>
> --
> Mit freundlichen Grüßen
>
> Siegfried Puchbauer
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>


--
Corsin Camichel
cocaman at gmail.com



More information about the opencms-dev mailing list