allow disabling auto indexing