I wonder why. I had a similar use case & works great for me. If you can send the snapshot of analysis for a sample string (say "hello world " for indexing, "hel" - positive case, "wo" - negative case for querying), then we can see whats going on. Also the debug query output would be helpful.
On Fri, Aug 31, 2012 at 10:28 PM, aniljayanti <anil.jaya...@gmail.com>wrote: > Hi, > > Thanks, > > As i already used "KeywordTokenizerFactory" in my earlier posts. > > <fieldType name="edgytext" class="solr.TextField" > positionIncrementGap="100" > omitNorms="true"> > <analyzer type="index"> > *<tokenizer class="solr.KeywordTokenizerFactory" /> > <filter class="solr.LowerCaseFilterFactory" /> > <filter class="solr.PatternReplaceFilterFactory" pattern="\s+" > replacement=" " replace="all"/> > <filter class="solr.EdgeNGramFilterFactory" minGramSize="1" > maxGramSize="15" side="front" /> > * </analyzer> > <analyzer type="query"> > *<tokenizer class="solr.KeywordTokenizerFactory" /> > <filter class="solr.LowerCaseFilterFactory" /> > <filter class="solr.PatternReplaceFilterFactory" pattern="\s+" > replacement=" " replace="all"/> > * </analyzer> > </fieldType> > > getting same results. > > AnilJayanti > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/auto-completion-search-with-solr-using-NGrams-in-SOLR-tp3998559p4004871.html > Sent from the Solr - User mailing list archive at Nabble.com. >