Antw: Re: [opencms-dev] Lucene Search

M Butcher mbutcher at grcomputing.net
Wed Sep 10 18:29:01 CEST 2003


Well, you can try different Analyzers, but that will likely only solve
some of the problems. You can also do some processing of the incoming
query (rather than the default, which just runs a stop analyzer, (i.e.
breaks up the query by spaces, tabs and other stop characters). Or you
can just automatically append '*' too words in the query.

Matt

On Wed, 2003-09-10 at 04:32, Björn Schlueter wrote:
> Yes I read the Syntaxinformation. But is it possible to set the * by default?
> I don't want to bother my users with syntax-knowledge
> 
> Regards
> 
> Björn
> 
> >>> hartmann at waehrisch-feykes.de 10.09.2003 12:22:32 >>>
> Hello,
> 
> did you try "somewo*" ?
> 
> http://jakarta.apache.org/lucene/docs/queryparsersyntax.html
> 
> Bye,
> Stephan
> 
> ----- Original Message -----
> From: "Björn Schlueter" <bschlueter at lenord.de>
> To: <opencms-dev at opencms.org>
> Sent: Wednesday, September 10, 2003 11:37 AM
> Subject: [opencms-dev] Lucene Search
> 
> 
> Hello,
> 
> we implemented the lucene search in our website. We just realised that it
> can only be search for whole words.
> Which means, searching for "someword" gives you the right results but
> searching for "somewo" does not work.
> 
> Is it possible to set a parameter so Lucene will work with partial strings
> as well?
> 
> Does anyone know?
> 
> TIA
> 
> Björn
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
-- 
M Butcher <mbutcher at grcomputing.net>



More information about the opencms-dev mailing list