Skip to content

ContentName Criterion

The ContentName Search Criterion searches for content by its name.

Arguments

  • value - string representing the content name, the wildcard character * can be used for partial search

Limitations

ContentName can be used on all search engines.

Example

PHP

1
$query->query = new Criterion\ContentName('*phone');

REST API

1
2
3
4
5
<Query>
    <Filter>
        <ContentNameCriterion>*phone</ContentNameCriterion>
    </Filter>
</Query>
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
    "ViewInput": {
        "identifier": "ContentNameCriterionTest",
        "Query": {
            "Filter": {
                "ContentNameCriterion": "*phone"
            }
        }
    }
}