As indicated by the name, they apply either AND or OR logic to the terms you supply them. The tagsLike method only accepts a single tag which is a little confusing since the name is plural. All the other methods will take multiple search terms in a comma-separated list. Spaces are treated as part of the search term. For a full list see the API documentation.

You can combine them to create layers of filters. For example, this would get all entries with the tag “building”, and then filter those results for entries with one or more of the search terms:

<?php$filter->tagsLike='building';// must have this tag
$filter->searchTextMatchOr='big, red, barn';// plus any of these terms

If you want to limit the number of results and/or paginate them, you can add a pager. Just remember to pass it to your listAction call as the second parameter. This example returns the first 3 results (3 per page, page 1):