Search with multiple keywords in Elastic

For Example, I have a organisation called Elastic and its having multiple products.

I want search "loghash" in Elastic.

"bool" => [
"must" => [
"match" => [
"organisation" => "Elastic"
],
"match" => [
"product" => "loghash"
]
]
]

I need this query in 1.7

I have tried this in 2.3 but its returns only one match.

Please help me. Thanks in advance.

Can you provide the exact example document that you think should match from your index? Also your mappings play an important role in these kind of question.

"bool" => [
"must" => [[
"match" => [
"organisation" => "Elastic"
],
"match" => [
"product" => "loghash"
]
]
]
]

maybe this?....

Hi Christoph,

I have index like organisation and product in Elastic. Organisations have multiple products.

I need to search product in organisation.

For this i have two keywords, one must match organisation name and another one is product

Hi, this is not working. Its only returns organisation match not product match