Querying Nested Objects in Elasticsearch

Published: 11 May 2023
on channel: Coding Explained
2,213
33

This video shows how to query nested objects in Elasticsearch. Arrays of objects need to be queried in a special way or you risk getting unpredictable results. Learn why this is the case and how to query nested objects correctly in Elasticsearch.

This video is sponsored by ‪@Elastic‬ and the Elastic Contributor Program.

Program Overview:
https://l.codingexplained.com/r/elast...

Contributor Program Rules:
https://l.codingexplained.com/r/elast...

FAQ:
https://l.codingexplained.com/r/elast...

5 Reasons to Join the Contributor Program:
https://l.codingexplained.com/r/elast...

How two Elastic Community Contributor award winners became amazing Elasticians:
https://l.codingexplained.com/r/elast...

Start Contributing Today:
https://l.codingexplained.com/r/elast...

----------

Want to learn more about Elasticsearch? Check out my Elasticsearch course here:
https://l.codingexplained.com/r/elast...

----------

00:00 - Introduction
00:56 - Querying the wrong way
03:09 - How arrays of objects are indexed
05:00 - Identifying the problem
05:54 - Mapping nested objects
07:05 - Elastic Contributor Program
08:51 - Querying nested fields
12:06 - Relevance scoring for nested queries
13:17 - Nested inner hits
19:08 - Limitations
24:01 - Thanks for watching


Watch video Querying Nested Objects in Elasticsearch online without registration, duration hours minute second in high quality. This video was added by user Coding Explained 11 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,213 once and liked it 33 people.