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

mysql - How to insert just year and month into date field? -

c# - Detect changes in ObjectSet in Entity Framework 4.0? -