auto-select search string
update sphinx train cfg to model size
some simple db consistency checks