lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roySolr <>
Subject Re: Slow autocomplete(terms)
Date Thu, 22 Sep 2011 09:02:22 GMT
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"
      <analyzer type="index">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
	<filter class="solr.NGramFilterFactory" minGramSize="2" maxGramSize="8"/>
      <analyzer type="query">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
     	<filter class="solr.TrimFilterFactory"/>

I see this in the analysis:


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:


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

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message