lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbarani <bbar...@gmail.com>
Subject Partial match autosuggest (match a word occurring anywhere in a field)
Date Wed, 17 Dec 2014 00:43:58 GMT
Hi,

I am trying to figure out a way to implement partial match autosuggest but
it doesn't work in some 
cases.

When I search for iphone 5s, I am able to see the below results.

title_new:Apple iPhone 5s - 16GB - Gold

but when I search for iphone gold (in title_new field), I am not able to see
the above result. Is there a way to implement full partial match (occuring
anywhere in a field)?


Please find below my fieldtype configuration for title_new

<fieldType name="edgytext" class="solr.TextField"> 
 <analyzer type="index"> 
   <tokenizer class="solr.KeywordTokenizerFactory"/> 
   <filter class="solr.LowerCaseFilterFactory"/> 
   <filter class="solr.NGramFilterFactory" minGramSize="1" maxGramSize="15"
/> 
 </analyzer> 
 <analyzer type="query"> 
   <tokenizer class="solr.KeywordTokenizerFactory"/> 
   <filter class="solr.LowerCaseFilterFactory"/> 
 </analyzer> 
</fieldType> 



--
View this message in context: http://lucene.472066.n3.nabble.com/Partial-match-autosuggest-match-a-word-occurring-anywhere-in-a-field-tp4174660.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message