Smart reindex