Maybe process the city name as a single token?

On Mon, Sep 27, 2010 at 3:25 PM, Savannah Beckett
<savannah_becket...@yahoo.com> wrote:
> Hi,
>   I have city name as a text field, and I want to do spellcheck on it.  I use
> setting in http://wiki.apache.org/solr/SpellCheckComponent
>
> If I setup city name as text field and do spell check on "San Jos" for San 
> Jose,
> I get suggestion for Jos as "ojos".  I checked the extendedresult and I found
> that Jose is in the middle of all 10 suggestions in term of score and
> frequency.  I then set city name as string field, and spell check again, I got
> Van for San and Ross for Jos, which is weird because San is correct.
>
>
> How do you setup spellchecker to spellcheck city names?  City name can have
> multiple words.
> Thanks.
>
>
>

Reply via email to