lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenelist2...@danielnaber.de>
Subject Re: Searching using dash in words/abbreviations
Date Fri, 12 Dec 2008 19:32:17 GMT
On Freitag, 12. Dezember 2008, Jenny Brown wrote:

> I'm trying to search for company ABC Inc. in places where it may be
> mentioned as A-B-C Inc.  Lucene is doing something with those dashes,
> though, that prevents me from getting accurate results.

"A" (even in "A-B-C" I think) is a stopword with StandardAnalyzer's default 
settings, which might cause problems. Please also check out these hints 
from the FAQ:

http://wiki.apache.org/lucene-java/LuceneFAQ#head-3558e5121806fb4fce80fc022d889484a9248b71

Regards
 Daniel

-- 
http://www.danielnaber.de

Mime
View raw message