Suppose I have documents with the following structure.
{
"text": "This is the road I mentioned",
"created_at": "2015-01-11T05:30:36.000Z",
"language": "en",
"character_count": 25,
"userInfo": {
"id": 553669398108446700,
"user_id": 2803103316,
"user_screen_name": "blue555555"
}
}
I need to search for a keyword say "road" in the field "text" and another keyword "blue555555" in the field "user_screen_name". This is basically searching on multiple fields, how can I do that in elasticsearch?