lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aniljayanti <anil.jaya...@gmail.com>
Subject Re: AW: AW: auto completion search with solr using NGrams in SOLR
Date Sat, 01 Sep 2012 05:28:50 GMT
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.

Mime
View raw message