Implementing basic search with elasticsearch.