Hello. Please tell me how to create a query to search for the desired item in several fields. For example:
{ "_index": "myindex", "_type": "users", "_id": "1", "_source": { "name": "Ivan", "age": "20", } } { "_index": "myindex", "_type": "users", "_id": "2", "_source": { "name": "Ivan", "age": "25", } }
I need to create a query of the type: SELECT FROM users WHERE name = "Ivan" AND age = "25"