{
'name': 'bla-bla',
'field1': 'value1',
'array': [
1, 2, 3, 4
]
}
curl -XGET 'http://localhost:9200/index_name/type_name/_search?pretty' -d '{
"filter": {
"and": [
{"term": {"field_name": 1}},
{"term": {"field_name": 2}},
{"term": {"field_name": 3}},
{"term": {"field_name": 4}}
]
}
}'