SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
49.
Elasticsearch ハマり所
noSQL故にJOIN出来ないということは、結果として各typeに同じデータ
を複製された状態で持たせることになり、一貫性が失われるという懸念
mappingやデータ登録時の_parentや_childを使うと類似の事は可能
ただし、1:Nとしての紐付け、つまりLEFT JOIN的な事は不可能
こちらのページの「Parent & child」が分かりやすいのでオススメ
Fun with elasticsearch's children and nested documents - Space Vatican
http://www.spacevatican.org/2012/6/3/fun-with-elasticsearch-schildren-and-nested-documents/
page 50