Call ensure_index) before analyze()