<p>Very simple answer: you just type the category name (no matter whether it's being set within a Matrix field).</p>
<p>The reason this didn't work in the first place was that my search index hadn't been updated properly by the auto-running task that triggered after an XML import I did with the Feed Me plugin.</p>
<p>I simply had to <a href="https://craftcms.com/docs/3.x/searching.html#rebuilding-your-search-indexes" rel="nofollow noreferrer">rebuild the search indexes manually</a> to fix the issue.</p>

CC BY-SA 4.0
2021-02-16T22:09:37.333Z
2021-02-16T22:09:37.333Z
Karl Bishop
<p>I have an arrangement like this:</p>
<pre><code>Entry type 'people'
└ Matrix field 'offices'
  └ Block type 'office'
    └ Category field 'building'
</code></pre>
<p>On the Entries screen, how can I search for <code>people</code> that have a particular <code>building</code> Category assigned within the <code>offices</code> Matrix?</p>
<p>Note: the <code>offices</code> and <code>building</code> fields both have &quot;Use this field’s values as search keywords&quot; checked.</p>

<craft3><matrix><categories><control-panel><search>
How to search for Entries that have a particular Category set within a Matrix field in the Control Panel?
# How to search for Entries that have a particular Category set within a Matrix field in the Control Panel?

(Asked by: username_0 on 2021-02-15)

I have an arrangement like this:
Entry type 'people'
└ Matrix field 'offices'
  └ Block type 'office'
    └ Category field 'building'

On the Entries screen, how can I search for people that have a particular building Category assigned within the offices Matrix?
Note: the offices and building fields both have "Use this field’s values as search keywords" checked.

**Tags:** craft3, matrix, categories, control-panel, search


---

## 1 answers

### Answer by username_0 on 2021-02-16. Score: 1 | Accepted answer

Very simple answer: you just type the category name (no matter whether it's being set within a Matrix field).

The reason this didn't work in the first place was that my search index hadn't been updated properly by the auto-running task that triggered after an XML import I did with the Feed Me plugin.

I simply had to [rebuild the search indexes manually](https://craftcms.com/docs/3.x/searching.html#rebuilding-your-search-indexes) to fix the issue.


---

