Allow the field index type to be specified via a new db_index_type argument