lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbarani <>
Subject Re: Partial match autosuggest (match a word occurring anywhere in a field)
Date Wed, 17 Dec 2014 20:03:11 GMT
Thanks for your response.

I fixed this issue by using the <filter class="solr.PositionFilterFactory"

 <fieldType name="edgytext" class="solr.TextField"
positionIncrementGap="100" omitNorms="true">
      <analyzer type="index">
        <filter class="solr.LowerCaseFilterFactory"/> 
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.NGramFilterFactory" minGramSize="1"
maxGramSize="15" /> 
      <analyzer type="query">
        <filter class="solr.LowerCaseFilterFactory"/> 
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <filter class="solr.ShingleFilterFactory" outputUnigrams="true"
outputUnigramIfNoNgram="true" maxShingleSize="99"/>
        <filter class="solr.PositionFilterFactory" />

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

View raw message