Run cross-field and cross-entity full-text queries
Full-text queries are able to search across a large amount of text data and aggregate the results across multiple fields and even entities. The query output provides the result rank and a highlight if there is a text match.
In order to enable full-text search queries in the API, decorate any number of Stringfields with @fulltext(query: <query_name>) decorator, like this:
The generated output schema will define the required output type and the query: