Searches can also be done on elasticsearch using a search DSL.The query element within the search request body allows to define a query using the Query DSL.
GET /my_index/type/_search
{
"query" : {
"term" : { "field_to_search" : "search_item" }
}
}