How to search for content in a specific Matrix field? I'm not entirely sure how to search a specific Matrix field for a given bit of content. I can use:

{% for cta in entry.homeCtas.search('"Lorem Ipsum"') %}
    &lt;h1&gt;{{ cta.ctaTitle }}&lt;/h1&gt;
{% endfor %}


to find any Matrix rows with "Lorem Ipsum" (not in a specific field). But when I try something like this:

{% for cta in entry.homeCtas.search('ctaTitle:"Lorem Ipsum"') %}
    &lt;h1&gt;{{ cta.ctaTitle }}&lt;/h1&gt;
{% endfor %}


It returns nothing. Is my field syntax incorrect? Am I missing something obvious?
What I'm not clear of is if you are asking if you can query for entries that have a matrix field that contains x, or if you just asking if you can search within a matrix field of an entry that has already been returned by a query. 

If it is the later, the following solution would work. This isn't a feature of Craft, but a feature of Twig. Thus, implementing it won't save on queries or anything, but it will help you filter the results returned by Craft.

Twig has a feature that allows you to apply a condition in addition to the for loop. It is documented here.

{% for cta in entry.homeCtas if cta.ctaTitle == "Lorem Ipsum" %}
    &lt;h1&gt;{{ cta.ctaTitle }}&lt;/h1&gt;
{% endfor %}