Make schema indexing a boolean instead of index types (#3517)

Commit bf1e9b0989 pushed by mart-wmaster