I should also mention that I have    <str name="maxCollationTries">500</str> 
just to see if it's possible to get a collation value.

-----Original Message-----
From: Corey Gerhardt [mailto:corey.gerha...@directwest.com] 
Sent: August-21-14 11:54 AM
To: Solr User List
Subject: Spell field type suggestion for business names

Solr 4.8.1

I'm using the DirectSolrSpellChecker class with  <str name="field">spell</str>.
  <int name="minPrefix">1</int>
  <float name="thresholdTokenFrequency">1</float>

The field type definition for the field "spell" is <fieldType 
class="solr.TextField" name="textSpell2" positionIncrementGap="100">
      <analyzer>
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.StandardFilterFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
      </analyzer>
    </fieldType>

I'm not sure if it's my field type definition used with the field named "spell" 
or something else.

I'm trying/hoping it's possible to get a collation value for "A & W Restaurant" 
when searched with "A & W Restaurent".

I get a suggestion for Restaurent but no collation value.

Thanks,

Corey

Reply via email to