How to instruct StandardAnalyzer in Lucene to not to remove stop words? -
simple question : how make lucene's standardanalyzer
not remove stop words when analyzing sentence ?
the answer version-dependent. lucene 3.0.3 (current), need construct standardanalyzer empty set of stop words, using this:
analyzer ana = new standardanalyzer(lucene_30, collections.emptyset());
Comments
Post a Comment