Support native mongodb indexes.