I am having a hard time understanding why some keywords in fields that are marked as "Use this field’s values as search keywords" are not showing in the results but others are. For example, I have a field in one entry that contains words like "batman, superman, spiderman". When I search for some of those terms, it shows the entry is shown. Now on a separate entry, the same field but with these keywords "mickey, donald, goofy". When I search those terms, no results are displayed.

How is it possible that one entry's keywords yield results, but the other entry's keywords do not?

  • Can you run craft resave/entries --update-search-index=1 from your project's root and see if that helps?
    – Brad Bell
    Oct 2 '20 at 22:10
  • I tried and received this message: Command 'craft' not found. Oct 2 '20 at 23:15
  • 1
    Recent versions of Craft are lacking bat file that allowed usage of craft command on windows. Use this command with php prefix - php craft resave/entries --update-search-index=1
    – piotrpog
    Oct 3 '20 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.