Hi BBrani,

Yes it is possible. Create another field, say edgytext_partial, use whitespace 
tokenises this time.
And query on both edgytext and edgytext_partial. you can even apply different 
boosts.

Ahmet

 



On Wednesday, December 17, 2014 2:44 AM, bbarani <bbar...@gmail.com> wrote:
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.

Reply via email to