Перейти к содержимому

Querying Nested Objects in Elasticsearch

Coding Explained

0:00 / 0:00

Querying Nested Objects in Elasticsearch

3 768 просмотров · 3 года назад
Coding Explained
9,42 тыс. подписчиков
3 768 просмотров · 3 года назад
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