Skip to main content
This page provides a complete list of operators available when building a query for the Search API endpoints.

Overview

Operators are used to match on specific Post attributes. There are two types:
  • Standalone operators — Can be used alone or with any other operators
  • Conjunction-required operators — Must be used with at least one standalone operator

Keyword and phrase operators


Entity operators


User operators


URL operators


Context and entity operators


List operator


Post reference operators


Location operators


Post type operators


Content type operators


Language operator


Logical operators


Supported languages

The lang: operator supports these BCP 47 language codes:

Query limitations


Next steps

Build a query

Learn query syntax and best practices

Search introduction

Get started with Search

Query Builder Tool

Build and test queries interactively