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
