Update indexer to start indexing `extension` and support parameter to NOT index `extension`