[opencms-dev] Lucene Problem or OpenCms implementation?

Shi Yusen shiys at langhua.cn
Thu Sep 29 15:41:03 CEST 2005


It's because of the stop words in Lucene. The numbers and some simple words
will not be indexed.

Regards,

Shi Yusen/Langhua

-----邮件原件-----
发件人: Bernd Wolfsegger [mailto:bw at code-create.com] 
发送时间: 2005年9月29日 0:23
收件人: opencms-dev at opencms.org
主题: Re: [opencms-dev] Lucene Problem or OpenCms implementation?

Well, I have to correct myself.

I have tested again. Something like "Fuzzy-Suche" is found when searching
for 
"Fuzzy" or "Suche" and even "Fuzzy-Suche".
But "D-10587" is not found when searching for "10587".
But single Numbers found when they are not combined with a "-" and a word.
Also "Dummy-10587" is not found searching for "Dummy" or "10587".
But searching for "Dummy-10587" it is found.

Perhaps I have to dive into the lucene code...

And well, searching for "Dertz*" works fine, but the same is not possible
for 
the "10587" part ...

Kind regards, Bernd

On Wednesday, 28. September 2005 14:53, Alexander Kandzior wrote:
> It is certainly the Lucene word stemming / analyzing that is reponsible
for
> that.
>
> You could seach for "Test*" to find the "Test-Seite", though.
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
>
> > -----Original Message-----
> > From: opencms-dev-bounces at opencms.org
> > [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Bernd Wolfsegger
> > Sent: Wednesday, September 28, 2005 1:11 PM
> > To: opencms-dev at opencms.org
> > Subject: [opencms-dev] Lucene Problem or OpenCms implementation?
> >
> > Hi,
> >
> > it is not possible to search for parts of terms  which look
> > like this in the
> > texts:
> > bla bla bla ... Test-Seite ... bla bla bla
> >
> > Because of the "-", "Test-Seite" is handled as a single term
> > currently and is indexed as that only.
> > In my opinion it should be handled both ways.
> > As single terms "Test" and "Seite" and as a combined term
> > "Test-Seite".
> >
> > As it is now, if you search for "Test" the document
> > containing "Test-Seite" is not found (that is, if there is no
> > other occurence of the word "Test")
> >
> > Kind regards, Bernd
> >
> >
> > --
> >
> > [  Code Create
> > [  Web Content Management and Presentation
> >
> >
> > [  Bernd Wolfsegger
> > [  Sun Certified Programmer for Java(TM) 2 Platform
> >
> >
> > [  Lohmeyerstrasse 13
> > [  10587 Berlin
> > [  Germany
> > [  Fon +49 (0)30 26555788
> > [  Fax +49 (0)30 2651835
> > [  Mobile +49 (0)163 6505622
> >
> > [  bw at code-create.com
> > [  http://www.code-create.com/
> >
> >
> >
> > _______________________________________________
> > 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

-- 

[  Code Create
[  Web Content Management and Presentation


[  Bernd Wolfsegger
[  Sun Certified Programmer for Java(TM) 2 Platform


[  Lohmeyerstrasse 13
[  10587 Berlin
[  Germany
[  Fon +49 (0)30 26555788
[  Fax +49 (0)30 2651835
[  Mobile +49 (0)163 6505622

[  bw at code-create.com
[  http://www.code-create.com/






More information about the opencms-dev mailing list