Hello Erick,

Thanks for your answer but i have some problems with the ngramfilter.

My conf look like this:

<fieldType name="autocomplete" class="solr.TextField"
positionIncrementGap="100">
      <analyzer type="index">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.NGramFilterFactory" minGramSize="2" 
maxGramSize="8"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.TrimFilterFactory"/>
      </analyzer>
    </fieldType>

I see this in the analysis:

"manchester"

ma      an      nc      ch      he      es      st      te      er      man     
anc     nch     che     hes     est     ste     ter     manc    anch    nche
ches    hest    este    ster    manch   anche   nches   chest   heste   ester   
manche  anches  nchest
cheste  hester  manches anchest ncheste chester manchest        ancheste        
nchester

When i use terms i see all this results back in the response. So i type
"ches" i got this:

ches
nches
anches
nchest
ncheste

I want one suggestion with a total keyword: "manchester". Is this possible?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Autocomplete-terms-performance-problem-tp3351352p3358126.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to