Query String Query

More info about query string query is in the official elasticsearch docs

A query that uses a query parser in order to parse its content.

Simple example

{
    "query_string" : {
        "default_field" : "content",
        "query" : "this AND that OR thus"
    }
}

In DSL:

$queryStringQuery = new QueryStringQuery('this AND that OR thus');
$queryStringQuery->addParameter('default_field', 'content');

$search = new Search();
$search->addQuery($queryStringQuery);

$queryArray = $search->toArray();