made it easier to disable n-grams indexing