lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhecht <>
Subject Re: stop words, synonyms... what's in it for me?
Date Mon, 21 May 2007 21:15:45 GMT

I will never have "mainstrasse" in my lucene index, since strasse is always
replaced with " strasse" causing "mainstrasse" to be split to "main
So the example you gave:
"schöne strasse" will match "schöne mainstrasse", since in the lucene index
I have "schöne main strasse".

Daniel Naber-5 wrote:
> On Monday 21 May 2007 22:53, bhecht wrote:
>> If someone searches for mainstrasse, my tools will split it again to
>> main and strasse, and then lucene will be able to find it.
> "strasse" will match "mainstrasse" but the phrase query "schöne strasse" 
> will not match "schöne mainstrasse". However, this could be considered a 
> feature. Aynway, it will be difficult to use features that rely on the 
> term list, e.g. the spellchecker. It will not be able to suggest 
> "mainstrasse", as that's not in the index.
> Regards
>  Daniel
> -- 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message