Use text index on Lookup.text
Merge branch 'master' into speedup-inserts