Use native's thread for indexing