Type can go to an index query
Type where query