<p>Make sure that you checked <em>Use this field’s values as search keywords</em> under Settings → Fields → <strong>Your field</strong></p>
<p>With that in place, run <code>./craft resave/entries --update-search-index</code> (<a href="https://craftcms.com/docs/3.x/console-commands.html#resave-entries" rel="nofollow noreferrer">docs</a>) and your entries should start showing up in your search results.</p>

CC BY-SA 4.0
2020-11-16T14:16:52.473Z
2020-11-16T14:16:52.473Z
Oli
<p>Is it possible to add a redactor field to the search index? I'm importing about 160 posts from a WordPress blog and the client has said it is absolutely essential that the posts themselves are searchable.
So far I've run <code>/craft resave/entries</code>  if I run with the flag <code>--type 'blog'</code> it only saves the titles, if I run <code>--type 'postContent'</code> (or <code>--section</code>) I get this error: <code>No entries exist for that criteria.</code>  (I'm not 100% on my knowledge of <code>--type</code> and <code>--section</code>).</p>
<p>None of the actual post content is in the search index and my entries are unsearchable.</p>

<craft3><search><redactor>
Add Redactor field to searchindex
# Add Redactor field to searchindex

(Asked by: username_0 on 2020-11-16)

Is it possible to add a redactor field to the search index? I'm importing about 160 posts from a WordPress blog and the client has said it is absolutely essential that the posts themselves are searchable.
So far I've run `/craft resave/entries` if I run with the flag `--type 'blog'` it only saves the titles, if I run `--type 'postContent'` (or `--section`) I get this error: `No entries exist for that criteria.` (I'm not 100% on my knowledge of `--type` and `--section`).

None of the actual post content is in the search index and my entries are unsearchable.

**Tags:** craft3, search, redactor

---

## 1 answers

### Answer by username_1 on 2020-11-16. Score: 2 | Accepted answer

Make sure that you checked *Use this field’s values as search keywords* under Settings → Fields → **Your field**

With that in place, run `./craft resave/entries --update-search-index` ([docs](https://craftcms.com/docs/3.x/console-commands.html#resave-entries)) and your entries should start showing up in your search results.


---

