I seem to have found answer to this one by digging 30mins in archives.
One approach is to use copyfield and store only stuff that is
interesting e.g spell_city field that will have stuff only where
type is city
Second approach includes extending IndexBasedSpellchecker ..alas I can
find
Hi,
I have build spellcheck dictionary based on name field.
It works like a charm but I'd like to limit the returned suggestion.
For example we have following sturcutre
id name type
1Berlin city
2berganphony
So when I search for suggested words of ber I