Save 37% off PRO during our Black Friday Sale! »

Elasticsearch × Drupalで理解する日本語サイト内検索

Elasticsearch × Drupalで理解する日本語サイト内検索

Transcript

  1. Elasticsearch × Drupal 
 Ͱཧղ͢Δ೔ຊޠ 
 αΠτ಺ݕࡧ • Elasticsearch/Elasticͷ֓ཁ •

    Drupal/Acquiaͷ֓ཁ • Elasticsearch × Drupalͷࣄྫ • ElasticsearchΛ༻͍ͨDrupalΞϓϦέʔ γϣϯͷαΠτ಺ݕࡧ • ElasticsearchͰͷ೔ຊޠݕࡧͷ࣭ΛߴΊ ΔͨΊͷ޻෉ • Q&A • ࣍ճ༧ࠂ ΞΫΠΞͷ։ൃऀ޲͚΢ΣϏφʔ ʮͰͿͪΌΜͶΔ ʯ
  2. ຊ೔ͷεϐʔΧʔ ΞΫΠΞδϟύϯ 
 ؛ढ़ฌ ιϦϡʔγϣϯΤϯδχΞ ΞΫΠΞδϟύϯ 
 ؙࢁͻ͔Δ ςΫχΧϧτϥϯεϨʔλʔ ͰͿͪΌΜͶΔ

    Elasticsearchגࣜձࣾ 
 Տଜ߁࣐ ΤσϡέʔγϣϯΞʔΩςΫτ Elasticsearchגࣜձࣾ 
 ླ໦ষଠ࿠ ΤόϯδΣϦετ
  3. Drupal/Acquiaͷ֓ཁ ΞΫΠΞ ؛ढ़ฌ

  4. CMSΛத৺ʹσδλϧίϯςϯπ౷߹ج൫Λߏங ʴηΩϡϦςΟ ʴ֦ுੑ ʴॊೈੑ ʴߴػೳ ʴ24/365αϙʔτ ΦʔϓϯιʔεCMSɿ PaaS؀ڥΛϚωʔδ υαʔϏεͰ͝ఏڙ (αϒεΫϦϓγϣϯ՝ۚ)

    ܖ ໿ ऀ ༷ ޲ ͚ α Π τ ί l ϙ Ϩ l τ α Π τ ࣾ ಺ ϙ l λ ϧ α Π τ α ϙ l τ ޲ ͚ α Π τ ά ϩ l ό ϧ α Π τ ୅ ཧ ళ ϙ l λ ϧ α Π τ ձ һ ੍ ϙ l λ ϧ α Π τ Φ ΢ ϯ υ ϝ σ Ο Ξ ֦ ு Ϟ δ ϡ l ϧ & A P I ͓٬༷ͷཁ݅ʹ߹ΘͤAcquia CMS্ʹ ༷ʑͳWebΞϓϦέʔγϣϯ(αΠτ)ΛॊೈʹߏஙՄೳ αʔόʔ/MW/DB/ωοτϫʔΫ ଞγεςϜ࿈ܞ ίϯςϯπ࿈ܞ εϚʔτϑΥϯɺλϒϨοτɺ΢ΣΞϥϒϧσόΠεɺ σδλϧαΠωʔδɺεϚʔτεϐʔΧʔ౳ʹग़͠෼͚ ϔουϨε Φ ϓ γ ϣ ϯ ίϯςϯπͷ ύʔιφϥΠζ ϚʔέςΟϯά Φʔτϝʔγϣϯ CDP ސ٬౷߹ج൫ ϩʔίʔυͰɹ αΠτ੍࡞ DAM:σδλϧ Ξηοτ؅ཧ PIM: ঎඼৘ใ؅ཧ αΠτΛ୹࣌ؒ Ͱෳ੡͢Δػೳ ηΩϡϦςΟ WAF&CDN ɾެ։ࡁΈͷίϯτϦϏϡʔτϞ δϡʔϧ͕਺ઍ͋ΓɺແঈͰ͝ར ༻Մೳ ɾࣗࣾͷཁ݅ʹຬͨͳ͍৔߹͸Χ ελϚΠζor৽ͨʹ։ൃՄೳ Acquia CMS ֦ுϞδϡʔϧ&APIͰଞγεςϜͱ࿈ܞ Acquia CMSʹʴαͷػೳ ΦʔϓϯιʔεCMSʮDrupalʯʹ࠷దԽ͞ΕͨϚωʔδταʔϏε શੈք4,000ࣾҎ্ͷ͓٬༷ͷσδλϧτϥϯεϑΥϝʔγϣϯ(DX)Λڧྗʹαϙʔτ
  5. σδλϧΤΫεϖϦΤϯεϓϥοτϑΥʔϜͱ͸ɿ σδλϧઓུΛ࣮ݱͷ͢ΔͨΊͷϚʔέςΟϯάࢪࡦͱITࢪࡦͷมֵΛࢧ͑Δ΋ͷ ϚʔέςΟϯά૊৫ͷมֵ • ʮCenter of Excellenceʯͱͯ͠ɺࣄۀઓུͱ࿈ܞͨ͠ ϚʔέςΟϯάࢪࡦͷཱҊ • ʮBusiness

    Partnerʯͱͯ͠ɺӦۀɺ։ൃ෦໳ʹ޲͚ ͨࢢ৔৘ใͷڞ༗ σδλϧઓུ࣮ݱͷͨΊͷϚʔέςΟϯάࢪࡦ • ύʔιφϥΠζυϚʔέςΟϯά • D2C(μΠϨΫττΡίϯγϡʔϚʔ ) • ϥΠϒίϛϡχέʔγϣϯ... etc ఆܕۀ຿
 ͷγϯϓϧԽ ܦӦߩݙ
 ʹΑΔ
 Ձ஋૑ग़ ࣮ݱʹ͋ͨΓٻΊΒΕΔγεςϜԽཁ݅ • ٤ۓͷςʔϚ΍ɺޮՌ૑ग़ͷߴ͍ྖҬΛબ୒ͯ͠ɺૉ ૣ࢝͘ΊΒΕΔ͜ͱ • ϚʔέςΟϯάࢪࡦϨϕϧʹԠͯ͡ɺॱ࣍ஈ֊ಋೖ͕ Ͱ͖Δ͜ͱ ʲ߈Ίͷσδλϧઓུʳ ࣄۀͷ֦େɺച্૿େ ϚʔέςΟϯά෦໳ͷ ໾ׂมԽ IT૊৫ͷมֵ • γΣΞʔυαʔϏεʹΑΔۀ຿ͷू໿ • Ξ΢τιʔγϯάʹΑΔۀ຿΍γεςϜͷ֎෦ίετ Խ σδλϧઓུ࣮ݱͷͨΊͷITࢪࡦ • ۀ຿վֵʢγϯϓϧԽɾू໿ɾഇࢭʣ • ITγεςϜͷඪ४Խ • ݱ৔෦໳΁ͷ৘ใΦʔϓϯԽɺݖݶҕৡ ࣮ݱʹ͋ͨΓٻΊΒΕΔγεςϜԽཁ݅ • ಋೖɺ͓Αͼӡ༻͕҆৺Ͱ࣮֬Ͱ͋Δ͜ͱ • ద੾ͳݖݶ؅ཧͷ΋ͱɺγεςϜར༻Ͱ͖Δ͜ͱ • ϨΨγʔγεςϜͷഉআ ʲकΓͷσδλϧઓུʳ ۀ຿ͷޮ཰Խɺίετͷ࡟ݮ
  6. Acquia Cloud Enterpris e • Drupalʹ࠷దԽ͞ΕͨPlatform as a Service (PaaS)

    • ؆ศɾޮ཰తͳӡ༻ͱ৴པੑ • ڧྗͳ։ൃπʔϧ • ॊೈͳεέʔϥϏϦςΟ • แׅతͳηΩϡϦςΟͱίϯϓϥΠΞϯε 6
  7. Acquia Cloud Site Factor y • ༰қͳଟαΠτల։ͱΨόφϯεߏங • ୯ҰϓϥοτϑΥʔϜʹΑΔϚϧναΠτ؅ཧ •

    ΫϦΤΠςΟϒࣗ༝౓ͱ༰қͳશମ؅ཧͷཱ྆ • ڧྗͳσϦόϦʔࣗಈԽ • แׅతͳϫʔΫϑϩʔɾ੍ޚɾΨόφϯε 7
  8. Acquia CMS (Drupal ) • Φʔϓϯιʔε CMSʢίϯςϯπ؅ཧγεςϜʣ • Ϧονͳσδλϧମݧͷఏڙ •

    ϊʔίʔυͰͷίϯςϯπ࡞੒ • ϞόΠϧϑΝʔετ • APIࢦ޲ઃܭʹΑΔγεςϜ࿈ܞͷॊೈੑ • ϞδϡϥʔܕΞʔΩςΫνϟ • ଟݴޠରԠ 8
  9. ओཁ੡඼֓ཁʢ3/6ʣ Acquia Personalizatio n • ֤σόΠεؒύʔιφϥΠζ͞ΕͨମݧΛఏڙ • ϦΞϧλΠϜͷϢʔβʔߦಈཤྺΛ౷߹؅ཧ • ϦΞϧλΠϜˍॊೈͳηάϝϯςʔγϣϯ

    • ηάϝϯτɺςετɺΰʔϧୡ੒ঢ়گΛՄࢹԽ • ΠϯαΠτΛΞΫγϣϯʹܨ͛Δ 9
  10. Acquia Content Hu b • ίϯςϯπ഑৴σΟεΧόϦʔͷఏڙ • αΠτ΍νϟωϧؒͰͷίϯςϯπ࡞੒ɾݕࡧɾڞ༗ • ֤छΤϯλʔϓϥΠζ޲͚CMS౳͔ΒίϯςϯπΛूੵ

    • ؔ࿈ίϯςϯπΛࣗಈ͔ͭΫΠοΫʹൃݟ • ഑৴ొ࿥ʹΑΓ௚ۙͷίϯςϯπߋ৽৘ใΛऔಘ • APIͱίωΫλʹΑΓίϯςϯπΛ౷߹؅ཧ 10
  11. Acquia DAM • Ϋϥ΢υϕʔεͷڧྗͳDA M • CMSͷDrupalͱ׬શʹ౷߹ • γϯϓϧͰࢹೝੑʹ༏Εͨը໘ •

    Ξηοτͷݕࡧ΍ొ࿥ • ػցֶशΛར༻ͨࣗ͠ಈΩʔϫʔυ෇͚ • ๛෋ͳϫʔΫϑϩʔ • Ξηοτ؅ཧʹඞཁͳ༷ʑͳػೳ͕૷උ 11
  12. Acquia Cloud Edge Protect & CD N Edge ProtectʢWAF͓ΑͼDDoS߈ܸରࡦʣ Acquia

    Cloudʹ࠷దԽ͞ΕͨηΩϡϦςΟ੡඼Ͱ͋ΔEdge Protect͸ɺΦϯϥΠϯ্ͷ͋ΒΏΔڴҖ͔Β وࣾͷαΠτΛڧݻʹकΓ·͢ɻ Edge CDNʢίϯςϯπɾσϦόϦʔɾωοτϫʔΫʣ Acquia Cloudʹ࠷దԽ͞ΕͨCDN੡඼Ͱ͋ΔEdge CDN͸ɺશੈք150ՕॴҎ্ͷPOPsʹΑΓɺੈքͷ Ͳ͜ʹϢʔβʔ͕͍ͯ΋շదʹوࣾͷσδλϧମݧΛڗड͢Δ͜ͱ͕Ͱ͖·͢ɻ 12
  13. Elasticsearch × Drupalͷࣄྫ ΞΫΠΞ ؛ढ़ฌ

  14. ࠃ಺େखҩྍܥ੡଄ۀ༷ • ֤ࠃର৅ͷάϩʔόϧαΠτΛDrupalͷϚϧναΠτػೳʹ ΑΓߏஙɻݕࡧγεςϜͱͯ͠Elastic CloudΛ࠾༻ • طଘαΠτʹ͓͍ͯɺUI/UXʹ՝୊͕͋Γɺಛʹݕࡧͷੑೳ ʹݒ೦͕͋ͬͨɻElasticsearchͷॊೈͳݕࡧͷΧελϚΠζ ੑʹΑΓɺݕࡧਫ਼౓ͷ޲্ΛਤΔ •

    άϩʔόϧαΠτΛల։͢Δ্Ͱɺෳ਺ͷαΠτ಺ίϯςϯ πΛҰׅͰݕࡧ͢ΔFederated Search΋׆༻༧ఆ ࠃ಺େख੡଄ۀ༷ • શੈքͷશࣾһɺύʔτφʔاۀ͕ར༻͢Δࣾ಺ϙʔλϧΛ DrupalͰߏஙɻݕࡧγεςϜͱͯ͠Elastic CloudΛ࠾༻ • ෳࡶͳӾཡݖݶΛ࣋ͭଟ਺ͷ෦ॺɺάϧʔϓ͕Drupal಺ʹα ΠτʢίϯςϯπͷάϧʔϓʣΛ࡞੒͍ͯ͠ΔதͰ ElasticsearchʹΑΓԣஅతͳίϯςϯπͷݕࡧ͕Մೳʹͳͬ ͨ • DrupalҎ֎ͷࣾ಺ίϯςϯπʢSharepointɺOneDrive౳ʣ΋ কདྷతʹݕࡧର৅ͱ͢Δ༧ఆ Elasticsearch × Drupalͷࣄྫ Elastic Cloud/Elasticsearch͕બ͹ΕΔཧ༝ 1. Drupalͱͷ࿈ܞͷ༰қ͞ 2. αΠτҎ֎ͷιʔεΛݕࡧର৅ʹ͢Δ͜ͱ͕Մೳ Elastic Cloud/Elasticsearch͕બ͹ΕΔཧ༝ 1. ݕࡧੑೳͷॊೈͳΧελϚΠζੑೳ 2. ෳ਺αΠτʹ·͕ͨΔݕࡧ͕Մೳ Acquia Cloud Platform/Drupal͕બ͹ΕΔཧ༝ 1. ػີ৘ใΛ҆શʹ؅ཧͰ͖ΔϓϥοτϑΥʔϜ 2. ΧελϚΠζɾ֦ுੑʹ༏ΕͨγεςϜ Acquia Cloud Platform/Drupal͕બ͹ΕΔཧ༝ 1. தԝूݖܕͰάϩʔόϧαΠτΛ؅ཧ͠ͳ͕Βɺ֤ࠃͰࣗ༝ʹ ίϯςϯπΛ࡞੒Ͱ͖Δݖݶͷॊೈੑ
  15. ElasticsearchΛ༻͍ͨDrupal ΞϓϦέʔγϣϯͷαΠτ಺ݕࡧ ΞΫΠΞ ؙࢁͻ͔Δ

  16. DrupalͷαΠτ಺ݕࡧʹ͍ͭͯ Drupalͷඪ४ػೳͰ༻ҙ͞Ε͍ͯΔݕࡧػೳΛ࢖͏ • DrupalίΞͷSearchϞδϡʔϧ • ೔ຊޠݕࡧʹ͍ͭͯ͸ʮ؆қCJKॲཧʯ(Nจࣈ਺Ͱ୯ޠΛ۠੾Δ) ͰରԠՄೳ • ྑ͍఺ɿඪ४ػೳͳͷͰ͙͢ʹ࢖͍࢝ΊΒΕΔ⭕ •

    ؾΛ͚ͭΔ఺ɿΠϯσοΫε͕σʔλϕʔεʹอଘ͞ΕΔͷͰɺ େن໛αΠτͩͱύϑΥʔϚϯεʹӨڹ͕ग़Δ 
 Search APIϞδϡʔϧͱͦͷपลϞδϡʔϧͰݕࡧػೳΛఏڙ͢Δ • ʢ࣍ͷεϥΠυͰઆ໌ʣ
  17. Search APIϞδϡʔϧͱ͸ • Α͘ར༻͞Ε͍ͯΔίϯτϦϏϡʔτϞδϡʔϧͷ1ͭ • DrupalͰݕࡧػೳΛఏڙ͢ΔͨΊͷϑϨʔϜϫʔΫ • ݕࡧΤϯδϯʹґଘ͠ͳ͍ΠϯλʔϑΣʔεͱɺViewsΛհͨ͠ݕࡧϖʔδͷදࣔ • Search

    APIΛΧελϚΠζ͢ΔͨΊͷϑοΫ΍ϓϥάΠϯ͕๛෋ʹ༻ҙ͞Ε͍ͯΔͨΊɺSearch API Λத৺ʹศརͳؔ࿈Ϟδϡʔϧ͕ଟ਺ଘࡏ͢Δ • ೔ຊޠݕࡧ͸όοΫΤϯυͷݕࡧΤϯδϯʹΑͬͯରԠՄೳ Search API σʔλϕʔε Apache Solr Elasticsearch MongoDB Views(ݕࡧը໘) ϑΝηοτݕࡧ αδΣετ ϑΝΠϧݕࡧ ݕࡧαʔόʔ Ϗϡʔ ΠϯσοΫ ε࡞੒ɺݕ ࡧΫΤϦͷ ݁Ռऔಘ... ݕࡧϑΟϧ λ΍ݕࡧը ໘ͷఏڙɺ ݕࡧΫΤϦ ͷ࡞੒... Algolia
  18. Search APIͷݕࡧΤϯδϯʹElasticsearchΛ࢖༻͢Δ • Search APIϞδϡʔϧʹ௥Ճͯ͠ɺElasticsearch ConnectorϞδϡʔϧ͕ඞཁ • https://www.drupal.org/project/ elasticsearch_connector •

    Elasticsearch࠷৽όʔδϣϯ7ܥʹରԠ • BasicೝূɺDigestೝূɺNTLMೝূʹରԠ • ؔ࿈Ϟδϡʔϧͱͯ͠ɺPDFͳͲͷఴ෇ϑΝΠϧΛ ؚΊͯݕࡧ͢ΔͨΊͷSearch API Elasticsearch AttachmentsϞδϡʔϧ͕ར༻Ͱ͖Δ • https://www.drupal.org/project/ search_api_elasticsearch_attachments
  19. ©2018 Acquia Inc. — Confidential and Proprietary DEMO

  20. ϨγϐαΠτΛྫʹɺElasticsearchͰαΠτ಺ݕࡧΛ࣮ ݱ͢Δํ๏Λ͝঺հ͠·͢ ݕূखॱ 1. Elasticsearch ConnectorͱSearch APIϞδϡʔϧͷ ಋೖ 2. DrupalΛElasticsearchʹ઀ଓ͢Δ

    3. ΠϯσοΫεͷઃఆͱ࡞੒ 4. ViewsػೳͰݕࡧ݁Ռϖʔδͷ࡞੒ DrupalαΠτʹElasticsearchΛಋೖͯ͠ΈΑ͏ ※ DrupalαΠτͱElasticsearch͸ࣄલʹ༻ҙ͓͍͍ͯͯͩ͘͠͞ʂ ࠓճ͸Drupal 9.2.5ɺElasticsearch 7.15.0 Λ࢖༻ͯ͠ݕূ͍ͯ͠·͢ɻ
  21. ʢ͓·͚ʣϩʔΧϧ؀ڥͰDrupalαΠτΛ༻ҙ͢Δ https://youtu.be/qmX-41wyGTo ࠷৽൛ DrupalϋϯζΦϯಈը ͋Γ·͢ʂ

  22. ʢ͓·͚̎ʣElasticsearchͷϗεςΟϯά؀ڥΛ༻ҙ͢Δ ࠓճͪ͜ΒΛݕূ؀ڥʹ ࢖Θͤͯ΋Βͬͯ·͢ɻ

  23. • DrupalͱElasticsearchΛ࿈ܞͤ͞ΔͨΊʹɺ࣍ͷೋͭͷϞδϡʔϧ͕ඞཁͰ͢ɻ • Elasticsearch Connector https://www.drupal.org/project/elasticsearch_connector • Search API https://www.drupal.org/project/search_api

    
 • ϞδϡʔϧΛComposerͰΠϯετʔϧ͠·͢ɻ 
 ϓϩδΣΫτσΟϨΫτϦ௚ԼͰɺ࣍ͷίϚϯυΛ࣮ߦ͠·͢ɻ 
 
 $ composer require drupal/search_api
 $ composer require drupal/elasticsearch_connector
 • ೋͭͷϞδϡʔϧΛ༗ޮԽ͠·͢ɻ 
 ࣍ͷίϚϯυΛ࣮ߦ͠·͢ɻ 
 
 $ drush pm:enable search_api elasticsearch_connector
 • ͜ΕͰೋͭͷϞδϡʔϧ͕ར༻Ͱ͖ΔΑ͏ʹͳΓ·ͨ͠ɻ 1. Elasticsearch ConnectorͱSearch APIϞδϡʔϧͷಋೖ
  24. 2. DrupalΛElasticsearchʹ઀ଓ͢Δʢ̍ʣ • ؅ཧϝχϡʔ͔ΒʮElasticsearch Connectorʯͷઃఆը໘Λ։͖·͢ɻ • ʮ+Add clusterʯΛΫϦοΫͯ͠ɺ 
 ઀ଓ͢ΔElasticsearchΛొ࿥͠·͢ɻ

  25. 2. DrupalΛElasticsearchʹ઀ଓ͢Δʢ̎ʣ • ͜ͷεΫϦʔϯγϣοτ͸ઃఆ಺༰ͷҰྫʹͳΓ·͢ɻ 
 
 • Elasticsearchαʔόʔ΁ͷ઀ଓ͕੒ޭ͢ΔͱɺCluster Statusʹ yellow

    ΍ green ͱදࣔ͞Ε·͢ɻ
  26. 3. ΠϯσοΫεͷઃఆͱ࡞੒ લఏͱͯ͠ɺDrupal಺Ͱ͍͔ͭ͘ίϯςϯπ͕༻ҙ͞Ε͍ͯΔঢ়ଶͰߦ͍·͢ɻ

  27. • Search APIϞδϡʔϧʹΑͬͯɺElasticsearchɺApache SolrͳͲͷ͞·͟·ͳݕࡧαʔόʔʹϓογϡ͢ΔͨΊ ͷந৅ԽϨΠϠ͕ఏڙ͞Ε͓ͯΓɺSearch APIΛ௨ͯ͡ ૢ࡞Ͱ͖ΔΑ͏ʹͳ͍ͬͯ·͢ɻ 
 • Search

    APIଆͰElasticsearchαʔόʔΛ؅ཧ͢ΔͨΊͷ ઃఆΛߦ͍·͢ɻ؅ཧϝχϡʔ͔ΒʮSearch APIʯͷઃ ఆը໘Λ։͖·͢ɻ 
 • ʮ+ Add serverʯΛΫϦοΫͯ͠ɺઌ΄ͲElasticsearch ConnectorͰొ࿥ͨ͠αʔόʔΛબ୒ͯ͠อଘ͠·͢ɻ 3. ΠϯσοΫεͷઃఆͱ࡞੒
  28. • αʔόʔΛ࡞੒ͨ͠Βɺ࣍͸ΠϯσοΫ εΛ࡞੒͠·͢ɻʮ+Add indexʯΛΫ ϦοΫͯ͠ɺΠϯσοΫεʹؔ͢Δઃఆ Λߦ͍ɺอଘ͠·͢ɻ 3. ΠϯσοΫεͷઃఆͱ࡞੒

  29. • อଘͨ͠ஈ֊ͰDrupalͷίϯςϯπ͕ElasticsearchαʔόʔʹΠϯσοΫε͞Ε·͢ɻ DrupalσʔλͷΠϯσο Ϋεঢ়گ͕೺ѲͰ͖·͢ Elasticsearchαʔόʔʹ Drupalίϯςϯπ͕υΩϡ ϝϯτͱͯ͠ొ࿥͞Ε͍ͯ Δ͜ͱ͕Θ͔Γ·͢ 3. ΠϯσοΫεͷઃఆͱ࡞੒

  30. ΠϯσοΫε͸࣍ͷλϒ͔Β΋௥ՃͰࡉ੍͔͍ޚ͕ߦ͑·͢ɻ 
 
 ϑΟʔϧυλϒ 
 Drupalσʔλ͕΋ͭϑΟʔϧυ͔ΒɺElasticsearchαʔόʔʹૹ৴͢Δ ΋ͷΛબ୒Ͱ͖·͢ɻσϑΥϧτͰ͸Կ΋બ୒͞Ε͍ͯͳ͍ঢ়ଶͳͷ Ͱɺ࠷௿ݶʮBodyʯ΍ʮTitleʯϑΟʔϧυͳͲΛબ୒͓͖ͯ͠·͠ΐ ͏ɻ 


    ※ ElasticsearchͰݴ͏ͱ͜Ζͷmappingʹ૬౰͠·͢ 
 
 ϓϩηοαʔλϒ 
 DrupalσʔλΛݕࡧαʔόʔʹΠϯσοΫε͢Δલ΍ɺݕࡧΫΤϦΛ౤ ͛ΔલʹԿΒ͔ͷॲཧΛͤ͞Δ͜ͱ͕ग़དྷ·͢ɻ 
 ྫ͑͹ΠϯσοΫεͷલॲཧͱͯ͠ʮެ։ࡁΈʯίϯςϯπͷΈΛΠ ϯσοΫεͤ͞ΔʮEntity statusʯϓϩηοαʔͳͲ͕͋Γ·͢ɻ 3. ΠϯσοΫεͷઃఆͱ࡞੒
  31. • ΤϯυϢʔβʔʹఏڙ͢ΔϫʔυݕࡧϘοΫε΍ݕࡧ ݁Ռͷϖʔδ͸ɺDrupalͷʮViewsʯػೳͰ࡞੒͠· ͢ɻ 
 • ؅ཧը໘ͷϝχϡʔ͔ΒʮViewsʯը໘ʹҠಈͯ͠ɺ ViewΛ1ͭ࡞੒͠·͢ɻ 
 •

    Ϗϡʔͷઃఆ߲໨ͰɺSearch APIͰઃఆͨ͠Πϯσο ΫεΛࢦఆ͢Δ͜ͱͰɺElaticsearchαʔόʔʹରͯ͠ ݕࡧΫΤϦΛ౤͛Δ͜ͱ͕Ͱ͖·͢ɻ 
 • ͋ͱ͸௨ৗͷViewΛ࡞੒͢Δ࣌ͱಉ༷ʹઃఆΛߦ͏ͩ ͚Ͱ͢ɻ 
 4. ViewsػೳͰݕࡧ݁Ռϖʔδͷ࡞੒ ͕͜͜େࣄʂ
  32. ϨγϐαΠτΛྫʹɺElasticsearchͰαΠτ಺ݕࡧΛ࣮ ݱ͢Δํ๏Λ͝঺հ͠·͢ ݕূखॱ 1. Elasticsearch ConnectorͱSearch APIϞδϡʔϧͷ ಋೖ 2. DrupalΛElasticsearchʹ઀ଓ͢Δ

    3. ΠϯσοΫεͷઃఆͱ࡞੒ 4. ViewsػೳͰݕࡧ݁Ռϖʔδͷ࡞੒ ʢ࠶ܝʣDrupalαΠτʹElasticsearchΛಋೖͯ͠ΈΑ͏
  33. ElasticsearchΛ༻͍ͨDrupalΞϓϦέʔγϣϯͷαΠτ಺ݕࡧɾ·ͱΊ 
 • DrupalͰαΠτ಺ݕࡧΛఏڙ͢Δํ๏͸ओʹ2௨Γ • ඪ४Ͱ༻ҙ͞Ε͍ͯΔݕࡧػೳ͸͙͢ʹར༻Ͱ͖ͯɺখن໛αΠτʹ޲͍ͯ ͍Δ • Search APIϞδϡʔϧͱͦͷपลϞδϡʔϧͰ࣮ݱ͢Δํ๏͸ɺόοΫΤϯ

    υͷݕࡧΤϯδϯɺݕࡧը໘ΛॊೈʹΧελϚΠζͰ͖Δɻେن໛αΠτ޲ ͚ • Elasitcsearch͸Search APIϞδϡʔϧΛ௨ͯ͡࿈ܞͰ͖Δ • ೔ຊޠݕࡧ΁ͷରԠ͸ElasticsearchଆͰઃఆ ·ͱΊ
  34. Elasticsearch × Drupal 
 Ͱཧղ͢Δ೔ຊޠ 
 αΠτ಺ݕࡧ • Elasticsearch/Elasticͷ֓ཁ •

    Drupal/Acquiaͷ֓ཁ • Elasticsearch × Drupalͷࣄྫ • ElasticsearchΛ༻͍ͨDrupalΞϓϦέʔγϣϯͷ αΠτ಺ݕࡧ • ElasticsearchͰͷ೔ຊޠݕࡧͷ࣭ΛߴΊΔͨΊͷ ޻෉ • Q&A • ࣍ճ༧ࠂ ΞΫΠΞͷ։ൃऀ޲͚΢ΣϏφʔ ʮͰͿͪΌΜͶΔ ʯ
  35. • Search API Ϟδϡʔϧ 
 https://www.drupal.org/project/search_api • Search API Ϟδϡʔϧ

    υΩϡϝϯτ 
 https://www.drupal.org/docs/contributed-modules/search-api • Elasticsearch Connector Ϟδϡʔϧ 
 https://www.drupal.org/project/elasticsearch_connector • Elasticsearch Connector ࢖͍ํ 
 https://www.lullabot.com/articles/indexing-content-from-drupal-8-to-elasticsearch ࢀߟࢿྉ
  36. None