Run indexing in sameThreadExecutor when index.threads <= 0 Change-Id: I3fb5a2ec039335cd8962b4a0973fbff7de55842f