lucene.net - Search for two-letter words in Lucene -


i'm trying find documents containing acronym "it".

i've tried searching using standardanalyzer, simpleanalyzer , keywordanalyzer - same result (no hits whatsoever).

as far can see, "it" isn't part of default stop words?

i can find documents using wildcard search, know they're in index.

any appreciated! cheers!

i tried re-indexing without any stop words...

new indexwriter(directory,                 new standardanalyzer(version.lucene_30, new hashset<string>()), // no stop words                 true,                 indexwriter.maxfieldlength.unlimited); 

...and after able search "it" long used same type of analyzer (without stop words) searching:

new standardanalyzer(version.lucene_30, new hashset<string>() 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -