Use index declared in serach.yml, fixes #5028