Add test queries that will favor an index scan, one with "order by var2, field(var3,'color')", one with "where var2 = 'x' and field(var3,'color') = 'red'" to make sure that we did not corrupt the index.