Hello,

I have the following object in my index:
{
"user" : {
"info" : {
"fname" : "John",
"lname" : "Stark"
},
"settings" : {
"hide_menu" : true,
"time_offset" : 3
}
},
"views" : [
]
}

And I'd like to create a filter to find all the users whose first name is 
John and have time_offset=3
So I need to build a must filter, but the problem is that these 2 fields 
are nested on different hierarchies: user.info and user.settings

How can I make a must filter (AND) with both of them?

Thanks,
Edi Buslovich.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/be0aaf35-212b-46a1-8430-21879881e147%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to