You can use a PrefixQuery class instead of QueryParser ...and if you have
multiple terms in your queries you can use Boolean Query to add all the
terms and also you can write your own analyzer and in which you can override
stopfilter and give your own stop words.
On Wed, Jun 30, 2010 at 2:17 PM, M
Hi,
I use an AnalyzingQueryParser with the StandardAnalyzer and german
stopwords in Lucene 3.0.1. If I have a query with a stopword followd by
a wildcard (e. g. das*) I get a ParseException: Cannot build PrefixQuery
with analyzer class org.apache.lucene.analysis.standard.StandardAnalyzer
- to