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

Popular posts from this blog

c# - Is it possible to remove an existing registration from Autofac container builder? -

asp.net - RadAsyncUpload in code behind, how to? -