Hello,

I use the termsComponent to fix some autocomplete on my website. I use the
prefix and get the following results:

searching for manch:

manchester city(10)
manchester united(2)

When a user search for ches i want the following results:

chesterfield united(13)
manchester united(2)

I want to search in the middle of words. How can i fix that? I have tried
the NgramsFilter on index time
but i doesn't seems to work with the termsComponent. 

My current configuration:

<fieldType name="suggestion" class="solr.TextField"
positionIncrementGap="100">
                <analyzer>
                         <charFilter class="solr.HTMLStripCharFilterFactory"/>
                         <tokenizer class="solr.KeywordTokenizerFactory"/>
                         <filter class="solr.LowerCaseFilterFactory"/>
                </analyzer>
</fieldtype>



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

Reply via email to