もし groonga が Amazon CloudSearch 互換の API だったら

817b7699ccbd3a6664de66eee8c2cbd2?s=47 Yoji Shidara
November 29, 2012

もし groonga が Amazon CloudSearch 互換の API だったら

全文検索エンジンgroongaを囲む夕べ 3
http://atnd.org/events/33070

817b7699ccbd3a6664de66eee8c2cbd2?s=128

Yoji Shidara

November 29, 2012
Tweet

Transcript

  1. ΋͠HSPPOHB͕ "NB[PO$MPVE4FBSDIޓ׵ͷ "1*ͩͬͨΒ ͩ͠ΒΑ͏͡ !EBSBTIJ  શจݕࡧΤϯδϯHSPPOHBΛғΉ༦΂

  2. "NB[PO$MPVE4FBSDI

  3. "NB[PO$MPVE4FBSDI ͝ଘ஌ͷํ

  4. Amazon CloudSearch ͸Ϋϥ΢υͰ׬શʹ؅ཧ͞ΕͨݕࡧαʔϏεͰ͋Γɺ͓٬༷͸ ߴ଎Ͱඇৗʹ֦ுੑͷߴ͍ݕࡧػೳΛΞϓϦέʔγϣϯʹ༰қʹ౷߹Ͱ͖·͢ɻAWS Management Console Ͱ਺ճΫϦοΫ͢Δ͚ͩͰɺ։ൃऀ͸؆୯ʹݕࡧυϝΠϯΛ࡞ ੒ͯ͠ݕࡧର৅ʹ͢ΔσʔλΛ Amazon CloudSearch

    ʹΞοϓϩʔυͰ͖ɺαʔϏε ͸ࣗಈతʹඞཁͳٕज़ϦιʔεΛఏڙͯ͠ߴ౓ʹௐ੔͞ΕͨݕࡧΠϯσοΫεΛల։͠ ·͢ɻ Amazon CloudSearch ͸ݕࡧର৅σʔλ͕૿Ճͨ͠ΓΫΤϦ཰͕มԽͨ͠Γ͢Δͷʹ Ԡͯ͡γʔϜϨεʹॖখ·ͨ͸֦ு·͢ɻ։ൃऀ͸͍ͭͰ΋ݕࡧύϥϝʔλʔΛมߋ͠ ͨΓɺݕࡧͷద੾౓Λมߋɺ৽͍͠ઃఆΛద༻͢Δ͜ͱ͕Ͱ͖ɺσʔλΛ΋͏Ұ౓Ξο ϓϩʔυ͢Δඞཁ΋͋Γ·ͤΜɻ Amazon CloudSearch ʹΑΓɺ͓٬༷͸ݕࡧϓϥοτϑΥʔϜΛӡ༻͓Αͼॖখ΍֦ ு͢ΔͨΊͷ؅ཧෆՄΛͳ͘͢͜ͱ͕Ͱ͖·͢ɻ͓٬༷͸ϋʔυ΢ΣΞͷ४උɺσʔλ ͷύʔςΟγϣϯɺιϑτ΢ΣΞͷύονͳͲʹ͍ͭͯߟ͑Δඞཁ͸͋Γ·ͤΜɻ Amazon CloudSearch ͸ɺैྔ՝੍ۚͷ௿͍Ձ֨ઃఆΛఏڙ͠ɺઌߦ౤ࢿඅ༻΍௕ظ తͳܖ໿͸ඞཁ͋Γ·ͤΜɻ 1 ࣌ؒະຬɺ1 ͔݄͋ͨΓ 100USD ະຬͰݕࡧػೳΛ։࢝͢Δํ๏ͷৄࡉʹͭ ͍ͯ͸ɺAmazon Web Services Evangelist Ͱ͋Δ Jeff Barr ͷ CloudSearch ϒϩάهࣄΛ͝ࢀর͍ͩ͘͞ɻ αΠϯΞοϓ͕؆୯ɺ ࠷୹10෼Ͱར༻։࢝Ͱ͖·͢ ΞΧ΢ϯτ࡞੒ͷྲྀΕ͸ͪ͜Β ͝ෆ໌ͳ఺͸͓ؾܰʹ ͓໰͍߹Θ͍ͤͩ͘͞ Amazon CloudSearch ͱ͸ԿͰ ͔͢ʁ Amazon CloudSearch ͷػೳੑ αʔϏε֓ཁ ྉۚද ৄࡉ৘ใ ૝ఆ͞ΕΔ࢖༻ํ๏ͱ੍ݶ Amazon CloudSearchʢϕʔλʣ ͜ͷϖʔδʹ͸ɺҎԼͷ৘ใΧςΰϦؚ͕·Ε͍ͯ·͢ɻΫϦοΫͯ͠ҎԼ΁δϟϯϓ: Amazon CloudSearch Amazon CloudSearch ͷ֓ ཁ تͼͷ੠ ྉۚද FAQ AWS Management Console υΩϡϝϯτ Java ༻ SDK .NET ༻ SDK ϦϦʔεϊʔτ ίϛϡχςΟϑΥʔϥϜ ؔ࿈Ϧιʔε تͼͷ੠ ੡඼ͱιϦϡʔγϣϯ AWS Product Information ։ൃऀ αϙʔτ αΠϯΞοϓ ΞΧ΢ϯτ / ίϯιʔϧ English http://aws.amazon.com/jp/cloudsearch/
  5. Amazon CloudSearch ͸Ϋϥ΢υͰ׬શʹ؅ཧ͞ΕͨݕࡧαʔϏεͰ͋Γɺ͓٬༷͸ ߴ଎Ͱඇৗʹ֦ுੑͷߴ͍ݕࡧػೳΛΞϓϦέʔγϣϯʹ༰қʹ౷߹Ͱ͖·͢ɻAWS Management Console Ͱ਺ճΫϦοΫ͢Δ͚ͩͰɺ։ൃऀ͸؆୯ʹݕࡧυϝΠϯΛ࡞ ੒ͯ͠ݕࡧର৅ʹ͢ΔσʔλΛ Amazon CloudSearch

    ʹΞοϓϩʔυͰ͖ɺαʔϏε ͸ࣗಈతʹඞཁͳٕज़ϦιʔεΛఏڙͯ͠ߴ౓ʹௐ੔͞ΕͨݕࡧΠϯσοΫεΛల։͠ ·͢ɻ Amazon CloudSearch ͸ݕࡧର৅σʔλ͕૿Ճͨ͠ΓΫΤϦ཰͕มԽͨ͠Γ͢Δͷʹ Ԡͯ͡γʔϜϨεʹॖখ·ͨ͸֦ு·͢ɻ։ൃऀ͸͍ͭͰ΋ݕࡧύϥϝʔλʔΛมߋ͠ ͨΓɺݕࡧͷద੾౓Λมߋɺ৽͍͠ઃఆΛద༻͢Δ͜ͱ͕Ͱ͖ɺσʔλΛ΋͏Ұ౓Ξο ϓϩʔυ͢Δඞཁ΋͋Γ·ͤΜɻ Amazon CloudSearch ʹΑΓɺ͓٬༷͸ݕࡧϓϥοτϑΥʔϜΛӡ༻͓Αͼॖখ΍֦ ு͢ΔͨΊͷ؅ཧෆՄΛͳ͘͢͜ͱ͕Ͱ͖·͢ɻ͓٬༷͸ϋʔυ΢ΣΞͷ४උɺσʔλ ͷύʔςΟγϣϯɺιϑτ΢ΣΞͷύονͳͲʹ͍ͭͯߟ͑Δඞཁ͸͋Γ·ͤΜɻ Amazon CloudSearch ͸ɺैྔ՝੍ۚͷ௿͍Ձ֨ઃఆΛఏڙ͠ɺઌߦ౤ࢿඅ༻΍௕ظ తͳܖ໿͸ඞཁ͋Γ·ͤΜɻ 1 ࣌ؒະຬɺ1 ͔݄͋ͨΓ 100USD ະຬͰݕࡧػೳΛ։࢝͢Δํ๏ͷৄࡉʹͭ ͍ͯ͸ɺAmazon Web Services Evangelist Ͱ͋Δ Jeff Barr ͷ CloudSearch ϒϩάهࣄΛ͝ࢀর͍ͩ͘͞ɻ αΠϯΞοϓ͕؆୯ɺ ࠷୹10෼Ͱར༻։࢝Ͱ͖·͢ ΞΧ΢ϯτ࡞੒ͷྲྀΕ͸ͪ͜Β ͝ෆ໌ͳ఺͸͓ؾܰʹ ͓໰͍߹Θ͍ͤͩ͘͞ Amazon CloudSearch ͱ͸ԿͰ ͔͢ʁ Amazon CloudSearch ͷػೳੑ αʔϏε֓ཁ ྉۚද ৄࡉ৘ใ ૝ఆ͞ΕΔ࢖༻ํ๏ͱ੍ݶ Amazon CloudSearchʢϕʔλʣ ͜ͷϖʔδʹ͸ɺҎԼͷ৘ใΧςΰϦؚ͕·Ε͍ͯ·͢ɻΫϦοΫͯ͠ҎԼ΁δϟϯϓ: Amazon CloudSearch Amazon CloudSearch ͷ֓ ཁ تͼͷ੠ ྉۚද FAQ AWS Management Console υΩϡϝϯτ Java ༻ SDK .NET ༻ SDK ϦϦʔεϊʔτ ίϛϡχςΟϑΥʔϥϜ ؔ࿈Ϧιʔε تͼͷ੠ ੡඼ͱιϦϡʔγϣϯ AWS Product Information ։ൃऀ αϙʔτ αΠϯΞοϓ ΞΧ΢ϯτ / ίϯιʔϧ English http://aws.amazon.com/jp/cloudsearch/
  6. “ "NB[PO $MPVE4FBSDI ͸Ϋϥ ΢υͰ׬શʹ؅ཧ͞ΕͨݕࡧαʔϏ εͰ͋Γɺ͓٬༷͸ߴ଎Ͱඇৗʹ֦ ுੑͷߴ͍ݕࡧػೳΛΞϓϦέʔγ ϣϯʹ༰қʹ౷߹Ͱ͖·͢ɻ

  7. 'SPOU&OE 3BJMT FUD )551 3FRVFTUT )551 3FRVFTUT +40/ 3FTQPOTFT +40/

    3FTQPOTFT "NB[PO $MPVE4FBSDI Payment Required!
  8. ʹϦϦʔε

  9. Amazon CloudSearch ͸Ϋϥ΢υͰ׬શʹ؅ཧ͞ΕͨݕࡧαʔϏεͰ͋Γɺ͓٬༷͸ ߴ଎Ͱඇৗʹ֦ுੑͷߴ͍ݕࡧػೳΛΞϓϦέʔγϣϯʹ༰қʹ౷߹Ͱ͖·͢ɻAWS Management Console Ͱ਺ճΫϦοΫ͢Δ͚ͩͰɺ։ൃऀ͸؆୯ʹݕࡧυϝΠϯΛ࡞ ੒ͯ͠ݕࡧର৅ʹ͢ΔσʔλΛ Amazon CloudSearch

    ʹΞοϓϩʔυͰ͖ɺαʔϏε ͸ࣗಈతʹඞཁͳٕज़ϦιʔεΛఏڙͯ͠ߴ౓ʹௐ੔͞ΕͨݕࡧΠϯσοΫεΛల։͠ ·͢ɻ Amazon CloudSearch ͸ݕࡧର৅σʔλ͕૿Ճͨ͠ΓΫΤϦ཰͕มԽͨ͠Γ͢Δͷʹ Ԡͯ͡γʔϜϨεʹॖখ·ͨ͸֦ு·͢ɻ։ൃऀ͸͍ͭͰ΋ݕࡧύϥϝʔλʔΛมߋ͠ ͨΓɺݕࡧͷద੾౓Λมߋɺ৽͍͠ઃఆΛద༻͢Δ͜ͱ͕Ͱ͖ɺσʔλΛ΋͏Ұ౓Ξο ϓϩʔυ͢Δඞཁ΋͋Γ·ͤΜɻ Amazon CloudSearch ʹΑΓɺ͓٬༷͸ݕࡧϓϥοτϑΥʔϜΛӡ༻͓Αͼॖখ΍֦ ு͢ΔͨΊͷ؅ཧෆՄΛͳ͘͢͜ͱ͕Ͱ͖·͢ɻ͓٬༷͸ϋʔυ΢ΣΞͷ४උɺσʔλ ͷύʔςΟγϣϯɺιϑτ΢ΣΞͷύονͳͲʹ͍ͭͯߟ͑Δඞཁ͸͋Γ·ͤΜɻ Amazon CloudSearch ͸ɺैྔ՝੍ۚͷ௿͍Ձ֨ઃఆΛఏڙ͠ɺઌߦ౤ࢿඅ༻΍௕ظ తͳܖ໿͸ඞཁ͋Γ·ͤΜɻ 1 ࣌ؒະຬɺ1 ͔݄͋ͨΓ 100USD ະຬͰݕࡧػೳΛ։࢝͢Δํ๏ͷৄࡉʹͭ ͍ͯ͸ɺAmazon Web Services Evangelist Ͱ͋Δ Jeff Barr ͷ CloudSearch ϒϩάهࣄΛ͝ࢀর͍ͩ͘͞ɻ αΠϯΞοϓ͕؆୯ɺ ࠷୹10෼Ͱར༻։࢝Ͱ͖·͢ ΞΧ΢ϯτ࡞੒ͷྲྀΕ͸ͪ͜Β ͝ෆ໌ͳ఺͸͓ؾܰʹ ͓໰͍߹Θ͍ͤͩ͘͞ Amazon CloudSearch ͱ͸ԿͰ ͔͢ʁ Amazon CloudSearch ͷػೳੑ αʔϏε֓ཁ ྉۚද ৄࡉ৘ใ ૝ఆ͞ΕΔ࢖༻ํ๏ͱ੍ݶ Amazon CloudSearchʢϕʔλʣ ͜ͷϖʔδʹ͸ɺҎԼͷ৘ใΧςΰϦؚ͕·Ε͍ͯ·͢ɻΫϦοΫͯ͠ҎԼ΁δϟϯϓ: Amazon CloudSearch Amazon CloudSearch ͷ֓ ཁ تͼͷ੠ ྉۚද FAQ AWS Management Console υΩϡϝϯτ Java ༻ SDK .NET ༻ SDK ϦϦʔεϊʔτ ίϛϡχςΟϑΥʔϥϜ ؔ࿈Ϧιʔε تͼͷ੠ ੡඼ͱιϦϡʔγϣϯ AWS Product Information ։ൃऀ αϙʔτ αΠϯΞοϓ ΞΧ΢ϯτ / ίϯιʔϧ English http://aws.amazon.com/jp/cloudsearch/
  10. ʘ ϕʔλ ʗ

  11. ࠓޙͷൃల͕ظ଴͞Ε·͢

  12. "NB[PO$MPVE4FBSDI ࢖͍ͬͯΔํ

  13. "$4Λ࢖͍ͬͯΔͱ ͜͏͍͏೰Έ͕ग़ͯ͘Δ͸ͣ

  14. “ ݸਓͷαʔϏεͰ ͪΐͬͱ࢖͍͍ͨΜ͚ͩͲ ͓͕ۚʜ

  15. “ ։ൃ࣌ͷςετʹ ࢖͍͍ͨΜ͚ͩͲʜ

  16. “ ೔ຊޠͷσʔλΛ ݕࡧ͍ͨ͠Μ͚ͩͲʜ

  17. “ 044ͩͬͨΒͳ͋ʜ

  18. ΋͠HSPPOHB͕ "NB[PO$MPVE4FBSDIޓ׵ͷ "1*ͩͬͨΒ

  19. ΋͠HSPPOHB͕ "NB[PO$MPVE4FBSDIޓ׵ͷ "1*ͩͬͨΒ ͦͷ೰Έɺ ղܾͰ͖Δ͔΋͠Ε·ͤΜʂ

  20. (SPPOHB$MPVE4FBSDI

  21. More Resources More Resources Documentation Community Blog Functional comparison Functional

    comparison Feature Feature Groonga Groonga CloudSearch CloudSearch Amazon Amazon CloudSearch CloudSearch Configuration Configuration Creating search domains ✓ ✓ Creating index fields ✓ ✓ Authentications ✕ ✓ Deletion of existing domains ✓ (v1.1.0-) ✓ Groonga CloudSearch Open Source Amazon CloudSearch on Your Computer Groonga CloudSearch is an Amazon CloudSearch compatible open source full text search server. v1.3.0 (2012-10-29) INSTALL TUTORIAL Fork me on GitHub http://gcs.groonga.org/
  22. HSPPOHBΛόοΫΤϯυʹ "NB[PO$MPVE4FBSDI ޓ׵ͷ"1*Λఏڙ

  23. 'SPOU&OE 3BJMT FUD )551 3FRVFTUT )551 3FRVFTUT +40/ 3FTQPOTFT +40/

    3FTQPOTFT "NB[PO $MPVE4FBSDI Payment Required!
  24. 'SPOU&OE 3BJMT FUD )551 3FRVFTUT )551 3FRVFTUT +40/ 3FTQPOTFT +40/

    3FTQPOTFT Payment Free (SPPOHB $MPVE4FBSDI
  25. “ ݸਓͷαʔϏεͰ ͪΐͬͱ࢖͍͍ͨΜ͚ͩͲ ͓͕ۚʜ

  26. (SPPOHB$MPVE4FBSDI͸ 714Ͱ΋ىಈͰ͖·͢ ৭ʑಉډͰ͖·͢

  27. ϑϩϯτ͸1BB4ʹ όοΫΤϯυ͸714ʹ ͱ͍͏ͷ΋ΦπͰ͢Ͷ

  28. “ ։ൃ࣌ͷςετʹ ࢖͍͍ͨΜ͚ͩͲʜ

  29. ϩʔΧϧͰ΋ىಈͰ͖·͢

  30. ͜ͷNPDLʜಈͧ͘ঢ়ଶ

  31. ࣗಈԽςετͰศར

  32. “ ೔ຊޠͷσʔλΛ ݕࡧ͍ͨ͠Μ͚ͩͲʜ

  33. HSPPOHB͔ͩΒ ೔ຊޠݕࡧ΋0,

  34. “ 044ͩͬͨΒͳ͋ʜ

  35. 044Ͱ͢

  36. https://github.com/groonga/gcs

  37. https://github.com/groonga/groonga

  38. ͦͷ೰Έɺ ղܾͰ͖Δ͔΋͠Ε·ͤΜʂ (SPPOHB$MPVE4FBSDI ͩͬͨΒ

  39. ͋Δ͔΋͠Εͳ͍ ࣭໰ͱͦͷ౴͑

  40. 2 "NB[PO$MPVE4FBSDIͷ ΫϥΠΞϯτϥΠϒϥϦ͸ ࢖͑Δͷʁ

  41. " େ఍ͷΫϥΠΞϯτϥΠϒϥϦ͸ ઀ଓઌΛมߋ͢Δͪΐͬͱͨ͠ύονΛ౰ͯΔͱ ͔ͭ͑·͢

  42. 2 ؅ཧίϯιʔϧ͸ ͳ͍ͷ

  43. " ͋Γ·͢

  44. HDTDPOTPMF αϒύοέʔδͰ ϒϥ΢β͔Β֤छͷ؅ཧૢ࡞

  45. Home Home DOMAINS DOMAINS companies companies Create New Domain Create

    New Domain About Search Index Fields Upload Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Name Type Search companies Index Fields Name Type Facet Result Operation address text false true age uint email_address text false true name text false true product text false true Create an index field text Groonga CloudSearch Console Groonga CloudSearch Console Index Field ͷઃఆ
  46. Home Home DOMAINS DOMAINS companies companies Create New Domain Create

    New Domain About Search Index Fields Upload Search Search « Previous Next » companies tokyo Request URL: http://search-companies-caco9v6jo4xqkg8tww0wwf0mwd.127.0.0.1.xip.io:7575/2011-02- 01/search?q=tokyo&size=5&start=0&return-fields=address%2Cage%2Cemail_address%2Cname%2Cproduct Found 3 records. Found 3 records. Showing 1 - 3 (3 records). Showing 1 - 3 (3 records). 1 id1 address Shibuya, Tokyo, Japan age 1 email_address info@razil.jp name Brazil product groonga 2 id3 address Hongo, Tokyo, Japan age 3 Groonga CloudSearch Console Groonga CloudSearch Console ݕࡧͷςετ
  47. 2 ηοτΞοϓ͸໘౗͡Όͳ͍ʁ

  48. " %FCJBO 6CVOUV 049༻ͷ ύοέʔδ͕͋Γ·͢

  49. 2 ͏·͍࿩͹͔ͬΓ͚ͩͲ

  50. " "NB[PO$MPVE4FBSDI ͷΑ͏ͳεέʔϥϏϦςΟ͸ ͋Γ·ͤΜ

  51. " (SPPOHB$MPVE4FBSDI͸ ࣗ෼Ͱӡ༻͢Δඞཁ͕͋Γ·͢

  52. " ޓ׵ੑ΋·ͩ·ͩ׬શͰ͸ͳ͍

  53. 2 ݴ͍࢒ͨ͜͠ͱ͸͋Δ

  54. " "NB[PO$MPVE4FBSDI ͷπʔϧ͕࢖͑·͢

  55. DTHFOFSBUFTEGίϚϯυ

  56. DTW IUNM UFYU KTPO  NTXPSE QEG FYDFM  QPXFSQPJOU

    YIUNM YNMΛ ΠϯσΫεՄೳͳܗࣜʹม׵
  57. ˠ(SPPOHB$MPVE4FBSDI ΁౤ೖ

  58. ·ͱΊ

  59. (SPPOHB$MPVE4FBSDI͸ HSPPOHBΛ༻͍ͯ "NB[PO$MPVE4FBSDIޓ׵ͷ "1*Λఏڙ͠·͢

  60. More Resources More Resources Documentation Community Blog Functional comparison Functional

    comparison Feature Feature Groonga Groonga CloudSearch CloudSearch Amazon Amazon CloudSearch CloudSearch Configuration Configuration Creating search domains ✓ ✓ Creating index fields ✓ ✓ Authentications ✕ ✓ Deletion of existing domains ✓ (v1.1.0-) ✓ Groonga CloudSearch Open Source Amazon CloudSearch on Your Computer Groonga CloudSearch is an Amazon CloudSearch compatible open source full text search server. v1.3.0 (2012-10-29) INSTALL TUTORIAL Fork me on GitHub http://gcs.groonga.org/