Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Elasticsearch 勉強会 1/2

Elasticsearch 勉強会 1/2

Kunihiko Kido

June 26, 2017
Tweet

More Decks by Kunihiko Kido

Other Decks in Technology

Transcript

  1. సஔΠϯσοΫε  จॻ  ݱ஍ΦϓγϣφϧπΞʔ༧໿  ؍ޫཱྀߦ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿ 

    ݶఆΩϟϯϖʔϯ༧໿ ୯ޠ จॻ൪߸ πΞʔ   Φϓγϣφϧ  ʜ ʜ ༧໿    సஔΠϯσοΫε ݩͷจॻ ୯ޠ͕Ͳͷจॻʹग़ݱ͢Δͷ͔Λ֨ೲͨ͠ࡧҾߏ଄ʹసஔΠϯσοΫε
  2. શจݕࡧ  จॻ  ݱ஍ΦϓγϣφϧπΞʔ༧໿  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿ ୯ޠ จॻ൪߸ πΞʔ

      Φϓγϣφϧ  ʜ ʜ ༧໿    సஔΠϯσοΫε ݕࡧ݁Ռ ݕࡧΩʔϫʔυ ʮπΞʔ"/%༧໿ʯ \ ^㱯\  ^\ ^
  3. ݴޠॲཧύλʔϯ w ݴޠॲཧ͠ͳ͍ w ύλʔϯநग़ w Ϛοϐϯά w 8IJUFTQBDF w

    ܗଶૉղੳ w /(SBN w &EHF/(SBN w 5PLFO/(SBN w 5PLFO&EHF/(SBN w ύλʔϯநग़ˍϚοϐϯά w ೔ຊޠݻ༗
  4. ݴޠॲཧ͠ͳ͍  จॻ  ݱ஍ΦϓγϣφϧπΞʔ༧໿  ؍ޫཱྀߦ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿ 

    ݶఆΩϟϯϖʔϯ༧໿ ୯ޠ จॻ൪߸ ݱ஍ΦϓγϣφϧπΞʔ༧໿  ؍ޫཱྀߦ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿  ݶఆΩϟϯϖʔϯ༧໿  సஔΠϯσοΫε ݩͷจॻ
  5. ύλʔϯநग़  จॻ  IUUQTXXXWFMUSBDPNKQBTJB UIBJMBOEFEJUPST@QJDLT  IUUQTXXXWFMUSBDPNFOFVSPQF GSBODF 

    IUUQTXXXIBXBJJBDUJWJUJFTDPNFO IBXBJJPBIVDUH  IUUQTISWFMUSBDPN ୯ޠ จॻ൪߸ XXXWFMUSBDPN   XXXIBXBJJBDUJWJUJFTDPN  ISWFMUSBDPN  సஔΠϯσοΫε ݩͷจॻ
  6. Ϛοϐϯά  จॻ  ಢ໦ݝ  ܈അݝ  ౦ژ౎ 

    ਆಸ઒ݝ ୯ޠ จॻ൪߸ ؔ౦஍ํ     ट౎ݍ     ๺ؔ౦   ೆؔ౦   సஔΠϯσοΫε ݩͷจॻ
  7. 8IJUFTQBDF  จॻ  *IBWFBQFO*IBWFBOBQQMF  BIBQQMFQFO  *IBWFBQFO*IBWFBQJOFBQQMF 

    BIQJOFBQQMFQFO ୯ޠ จॻ൪߸ B   BO  BQQMF   IBWF   *   QFO     QJOFBQQMF   సஔΠϯσοΫε ݩͷจॻ
  8. ܗଶૉղੳ  จॻ  ݱ஍ΦϓγϣφϧπΞʔ༧໿  ؍ޫཱྀߦ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿ 

    ݶఆΩϟϯϖʔϯ༧໿ ୯ޠ จॻ൪߸ πΞʔ   Φϓγϣφϧ  ʜ ʜ ༧໿    సஔΠϯσοΫε ݩͷจॻ
  9. /(SBN  จॻ  ݱ஍ΦϓγϣφϧπΞʔ༧໿  ؍ޫཱྀߦ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿ 

    ݶఆΩϟϯϖʔϯ༧໿ ୯ޠ จॻ൪߸ ମݧஊ  ݧஊ͔  ஊ͔Β  ͔Βબ  Βબ΂  બ΂Δ  ΂Δݱ  Δݱ஍  ݱ஍π  ஍πΞ  πΞʔ   Ξʔ༧   ʔ༧໿   సஔΠϯσοΫε ݩͷจॻ
  10. &EHF/(SBN  จॻ  ݱ஍ΦϓγϣφϧπΞʔ༧໿  ؍ޫཱྀߦ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿ 

    ݶఆΩϟϯϖʔϯ༧໿ ୯ޠ จॻ൪߸ ମ  ମݧ  ମݧஊ  ମݧஊ͔  ମݧஊ͔Β  ମݧஊ͔Βબ  ମݧஊ͔Βબ΂  ମݧஊ͔Βબ΂Δ  ମݧஊ͔Βબ΂Δݱ  ମݧஊ͔Βબ΂Δݱ஍  ମݧஊ͔Βબ΂Δݱ஍π  ମݧஊ͔Βબ΂Δݱ஍πΞ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿  సஔΠϯσοΫε ݩͷจॻ
  11. 5PLFO/(SBN  จॻ  ݱ஍ΦϓγϣφϧπΞʔ༧໿  ؍ޫཱྀߦ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿ 

    ݶఆΩϟϯϖʔϯ༧໿ ୯ޠ จॻ൪߸ ମݧஊ͔Β  ͔Βબ΂Δ  બ΂Δݱ஍  ݱ஍πΞʔ  πΞʔ༧໿  సஔΠϯσοΫε ݩͷจॻ
  12. 5PLFO&EHF/(SBN  จॻ  ݱ஍ΦϓγϣφϧπΞʔ༧໿  ؍ޫཱྀߦ  ମݧஊ͔Βબ΂Δݱ஍πΞʔ༧໿ 

    ݶఆΩϟϯϖʔϯ༧໿ ୯ޠ จॻ൪߸ ମ  ମݧ  ମݧஊ  બ  બ΂  બ΂Δ  ݱ   ݱ஍   π   πΞ   πΞʔ   ༧    ༧໿    సஔΠϯσοΫε ݩͷจॻ
  13. ύλʔϯநग़ˍϚοϐϯά  จॻ  IUUQTXXXWFMUSBDPNKQBTJB UIBJMBOEFEJUPST@QJDLT  IUUQTXXXWFMUSBDPNFOFVSPQF GSBODF 

    IUUQTXXXIBXBJJBDUJWJUJFTDPNFO IBXBJJPBIVDUH  IUUQTISWFMUSBDPN ୯ޠ จॻ൪߸ ϕϧτϥ   ϋϫΠΞΫςΟϏςΟ  ϕϧτϥ࠾༻৘ใ  సஔΠϯσοΫε ݩͷจॻ
  14. ೔ຊޠݻ༗ w ඼ࢺͷআ֎ʢॿࢺ֨ॿࢺҰൠ ॿࢺऴॿࢺʣ w ׽਺ࣈɾେࣈͱΞϥϏΞ਺ࣈʢұສԁɺҰສԁˠ ԁʣ w چࣈମʢچ׽ࣈʣɾ৽ࣈମʢ৽׽ࣈʣ w

    གྷΓࣈʢʑɺʋɺʍʣʢ֤ʑˠ֤֤ʣ w ಈࢺɾܗ༰ࢺͷݪܕ w ΧλΧφεϖϧͷ௕Իه߸ʢαʔόʔˠαʔόʣ w ΧλΧφεϖϧͷখจࣈɾେจࣈʢαοΧʔˠαπΧʔʣ w ΧλΧφεϖϧͷ۠੾ΓจࣈʢϚΠέϧδϟΫιϯɺϚΠέϧɾδϟΫιϯɺϚΠέϧδϟΫιϯʣ w ൒֯ɾશ֯ʢӳɾ਺ɾΧλΧφɾه߸ʣ w ໊শͷදه༳Εʢբϲؔɺբέؔɺբ͕ؔ࿡ͭ઒ɺ࿡ͬ઒ɺ࿡π઒ɺ࿡઒ࢁखઢɺࢁͷखઢʣ w ಡΈʢ౦ژˠτ΢Ωϣ΢ʣ
  15. ෛՙ෼ࢄΫϥελγεςϜ w 3FBE΋8SJUF΋εέʔϧΞ΢τ Ͱෛՙ෼ࢄ /PEF /PEF /PEF /PEF/ /PEF /PEF

    /PEF /PEF/ /PEF /PEF /PEF /PEF/ /PEF/ /PEF/ /PEF/ /PEF// 5SB⒏D 4FBSDI3FRVFTU7PMVNFBOE$PNQMFYJUZ %BUB %PDVNFOU2VBOUJUZBOE4J[F ʜ ʜ ʜ ʜ ʜ ʜ ʜ ʜ
  16. ,JCBOB σʔλΛՄࢹԽɻ&MBTUJD4UBDLΛφϏήʔτ &MBTUJDTFBSDI σʔλΛݕࡧɺ෼ੳɺอଘɻ #FBUT ܰྔσʔλγούʔͷϓϥοτϑΥʔϜɻ -PHTUBTI ಈతͳσʔλऩूύΠϓϥΠϯɻ &MBTUJD4UBDL ˞ແঈͰར༻ՄೳʢΦʔϓϯιʔεʣ

    91BDL &MBTUJD4UBDLͷ֦ுػೳɻ 4FDVSJUZ "MFSUJOH .POJUPSJOH 3FQPSUJOH (SBQI .BDIJOF-FBSOJOH αϒεΫϦϓγϣϯϥΠηϯε ˞Ұ෦ແঈͰ࢖༻Ͱ͖Δ΋ͷ΋͋Γ
  17. &MBTUJDTFBSDIDMVTUFS /PEF /PEF /PEF *OEFY" ෺ཧతͳΠϯσοΫε w $MVTUFSʢ㲈&MBTUJD4FBSDIαʔόʔ܈ʣ  w

    /PEFTʢ㲈&MBTUJD4FBSDIαʔόʔʣ  w 4IBSET w 1SJNBSZ4IBSET w 3FQMJDB4IBSET 14IBSE 14IBSE 34IBSE 14IBSE 34IBSE 34IBSE *OEFY#
  18. ࿦ཧతͳΠϯσοΫε w $MVTUFS w *OEJDFT w 5ZQFTʢ%PDVNFOU5ZQFTʣ w %PDVNFOUT w

    *E'JFMETNFUBpFMET &MBTUJDTFBSDI$MVTUFS *OEFY" *OEFY# *OEFY$ 5ZQF" %PDVNFOU 5ZQF# %PDVNFOU %PDVNFOU 5ZQF" %PDVNFOU 5ZQF# %PDVNFOU %PDVNFOU 5ZQF" %PDVNFOU 5ZQF# %PDVNFOU %PDVNFOU
  19. &MBTUJDTFBSDI$MVTUFS 3FHJPO" 3FHJPO# ϊʔυͷछྨ w .BTUFSOPEF w .BTUFSFMJHJCMFOPEF w %BUBOPEF

    w *OHFTUOPEF PQUJPO  w 5SJCFOPEF PQUJPO .BTUFSOPEF .BTUFSFMJHJCMFOPEF .BTUFSFMJHJCMFOPEF %BUBOPEF %BUBOPEF ֦ுੑͱTQMJUCSBJOΛߟྀͨ͠࠷খߏ੒
  20. "1*T w %PDVNFOU"1*T w IUUQTXXXFMBTUJDDPHVJEFFOFMBTUJDTFBSDI SFGFSFODFDVSSFOUEPDTIUNM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