A little bit of porting of search-reindex to D8.