もし 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. 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/
  2. 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/
  3. 7.

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

    3FTQPOTFT "NB[PO $MPVE4FBSDI Payment Required!
  4. 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/
  5. 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/
  6. 23.

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

    3FTQPOTFT "NB[PO $MPVE4FBSDI Payment Required!
  7. 24.
  8. 35.
  9. 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 ͷઃఆ
  10. 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 ݕࡧͷςετ
  11. 56.

    DTW IUNM UFYU KTPO  NTXPSE QEG FYDFM  QPXFSQPJOU

    YIUNM YNMΛ ΠϯσΫεՄೳͳܗࣜʹม׵
  12. 58.
  13. 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/