Term Query

More info about term query is in the official elasticsearch docs

The term query finds documents that contain the exact term specified in the inverted index.

Simple example

{
    "term" : { "user" : "Kimchy" } 
}

In DSL:

$termQuery = new TermQuery('user', 'Kimchy');

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

$queryArray = $search->toArray();