1

I have a multiselect drop-down for age group and I have set "Use this field’s values as search keywords" check box checked. when I create a new entry or update existing entry . we are not able to search using this field value unless we run this CLI command "php craft resave/entries --update-search-index" we don't want to run this command every time when someone create or update entry. Is there a solution to update search index automatically when someone create or update entry.

Thanks,

Amar Chand Yadav

1 Answer 1

1

This should actually happen automatically. After saving an entry a queue task is created which updates the search index.

You could verify if this also applies to other fields (especially text fields) and then file an issue at Craft‘s GitHub page. Maybe this is a bug for dropdowns only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.