<p>I am having a hard time understanding why some keywords in fields that are marked as &quot;Use this field’s values as search keywords&quot; are not showing in the results but others are. For example, I have a field in one entry that contains words like &quot;batman, superman, spiderman&quot;. 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 &quot;mickey, donald, goofy&quot;. When I search those terms, no results are displayed.</p>
<p>How is it possible that one entry's keywords yield results, but the other entry's keywords do not?</p>

CC BY-SA 4.0
2020-10-02T22:10:10.343Z
Can you run `craft resave/entries --update-search-index=1` from your project's root and see if that helps?
Brad Bell
CC BY-SA 4.0
2020-10-02T23:15:32.287Z
I tried and received this message: Command 'craft' not found.
Danny Valle
CC BY-SA 4.0
2020-10-03T07:55:21.563Z
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`
Piotr Pogorzelski
<search>
Getting mixed results with key word searches
# Getting mixed results with key word searches

(Asked by: username_0 on 2020-10-02)

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?

**Tags:** search
> **Comments:**
> **username_1**: Can you run `craft resave/entries --update-search-index=1` from your project's root and see if that helps?  
> **username_0**: I tried and received this message: Command 'craft' not found.  
> **username_2**: 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`  

---

## 0 answers

