Slide 1

Slide 1 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Jun Ohtani @johtani 2015/01/29 Elasticsearchͷ঺հͱಛ௃

Slide 2

Slide 2 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Elasticsearchͱ͸ʁ

Slide 3

Slide 3 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Elasticsearch in 10 seconds • εΩʔϚϑϦʔɺ෼ࢄυΩϡϝϯτετΞɺREST & JSON • Φʔϓϯιʔε: Apache License 2.0 • ઃఆͳ͠Ͱ؆୯ʹࢼ͢͜ͱ͕Մೳ • JavaͰ࣮૷ɻ֦ு΋༰қ

Slide 4

Slide 4 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Powerful Search at Scale

Slide 5

Slide 5 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Πϯετʔϧ͔Βݕࡧ·Ͱ

Slide 6

Slide 6 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited μ΢ϯϩʔυͱىಈ $ wget https://download.elasticsearch.org/... $ tar -xf elasticsearch-1.4.0.tar.gz $ ./elasticsearch-1.4.0/bin/elasticsearch ... [2014-11-12 16:07:13,346][INFO ][node] [Araña] started ... Also puppet modules and RPM/DEB

Slide 7

Slide 7 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ىಈͷ֬ೝ » curl localhost:9200 { "status" : 200, "name" : "Araña" "cluster_name" : "elasticsearch", "version" : { "number" : "1.4.0", "build_hash" : "bc94bd81298f81c656893ab1ddddd30a99356066", "build_timestamp" : "2014-11-05T14:26:12Z", "build_snapshot" : false, "lucene_version" : "4.10.2" }, "tagline" : "You Know, for Search" }

Slide 8

Slide 8 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited » curl -XPUT localhost:9200/books/book/1 -d ' { "title" : "Elasticsearch - The definitive guide", "authors" : "Clinton Gormley", "started" : "2013-02-04", "pages" : 230 }' σʔλొ࿥

Slide 9

Slide 9 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited » curl -XPUT localhost:9200/books/book/1 -d ' { "title" : "Elasticsearch - The definitive guide", "authors" : [ "Clinton Gormley", "Zachary Tong" ], "started" : "2013-02-04", "pages" : 230 }' σʔλߋ৽

Slide 10

Slide 10 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited σʔλ࡟আ » curl -X DELETE localhost:9200/books/book/1 σʔλͷऔಘ » curl —X GET localhost:9200/books/book/1 » curl —X GET localhost:9200/books/book/1/_source

Slide 11

Slide 11 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ݕࡧ » curl -XGET localhost:9200/books/_search?q=elasticsearch { "took" : 2, "timed_out" : false, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 }, "hits" : { "total" : 1, "max_score" : 0.076713204, "hits" : [ { "_index" : “books", "_type" : “book", "_id" : "1", "_score" : 0.076713204, "_source" : { "title" : "Elasticsearch - The definitive guide", "authors" : [ "Clinton Gormley", "Zachary Tong" ], "started" : “2013-02-04", "pages" : 230 } } ] } }

Slide 12

Slide 12 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited » curl -XGET ‘localhost:9200/books/book/_search' -d '{ "query": { "filtered" : { "query" : { "match": { "text" : { "query" : “To Be Or Not To Be", "cutoff_frequency" : 0.01 } } }, "filter" : { "range": { "price": { "gte": 20.0 "lte": 50.0 ... } }' ݕࡧ - Query DSL

Slide 13

Slide 13 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ৄ͘͠஌Γ͍ͨํ͸ • Elasticsearch - The Definitive guide http://www.elasticsearch.com/guide/en/elasticsearch/guide/ current/index.html

Slide 14

Slide 14 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ͦͷଞͷಛ௃ • ػೳ͕๛෋ • ίϛϡχςΟͳͲ͕׆ൃ • ։ൃ΋׆ൃ • ֤छΫϥ΢υج൫Ͱͷӡ༻͕༰қ • શจݕࡧҎ֎Ͱͷ׆༻

Slide 15

Slide 15 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ͦͷଞͷಛ௃ • ػೳ͕๛෋ • ίϛϡχςΟͳͲ͕׆ൃ • ։ൃ΋׆ൃ • ֤छΫϥ΢υج൫Ͱͷӡ༻͕༰қ • શจݕࡧҎ֎Ͱͷ׆༻

Slide 16

Slide 16 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ػೳ͕๛෋ • Aggregation - ݕࡧ݁Ռͷूܭ • Geo - Ң౓ܦ౓ɺGeoHashͰͷݕࡧ • Percolator - ΫΤϦΛอଘͯ͠ݕࡧ • Snapshot/Restore - ΠϯσοΫεͷอଘɺϦετΞ • Ecosystem - Pluginɺ֤ݴޠ޲͚ϥΠϒϥϦɺ Hadoop integrationͳͲͳͲ

Slide 17

Slide 17 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ͦͷଞͷಛ௃ • ػೳ͕๛෋ • ίϛϡχςΟͳͲ͕׆ൃ • ։ൃ΋׆ൃ • ֤छΫϥ΢υج൫Ͱͷӡ༻͕༰қ • શจݕࡧҎ֎Ͱͷ׆༻

Slide 18

Slide 18 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ίϛϡχςΟ͕׆ൃ - MLͷ౤ߘ਺

Slide 19

Slide 19 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited MeetupͳͲ • Meetupϝϯόʔɿ17,000௒ ೔ຊɿelasticsearchษڧձɿొ࿥ऀ਺ 1,000໊௒ • 74౎ࢢ • 27Χࠃ http://www.elasticsearch.org/community/

Slide 20

Slide 20 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ͦͷଞͷಛ௃ • ػೳ͕๛෋ • ίϛϡχςΟͳͲ͕׆ൃ • ։ൃ΋׆ൃ • ֤छΫϥ΢υج൫Ͱͷӡ༻͕༰қ • શจݕࡧҎ֎Ͱͷ׆༻

Slide 21

Slide 21 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ։ൃ΋׆ൃ • GitHubͷIssuesͱ͔Closesͱ͔ͷ਺ʢPulseʣ • ϦϦʔεͷස౓ɺػೳͷ௥Ճ • ֤छݴޠͷϥΠϒϥϦ • ๛෋ͳϓϥάΠϯ

Slide 22

Slide 22 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited GitHubͷPulse

Slide 23

Slide 23 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ϦϦʔεͷස౓ • 2014೥1݄ɿ1.0ϦϦʔε • AggregationɺSnapshot/RestoreɺCircuit Breakerͷಋೖ • 2014೥3݄ɿ1.1ϦϦʔε • Search templateɺAggregationͷ֦ॆ • 2014೥5݄ɿ1.2ϦϦʔε • 2014೥7݄ɿ1.3ϦϦʔε • AggregationͷڧԽɺσΟεΫϕʔεͷγϟʔυׂΓ౰ͯ • 2014೥11݄ɿ1.4ϦϦʔε • ResiliencyɺηΩϡϦςΟରԠɺUpgrade API

Slide 24

Slide 24 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ֤छݴޠͷϥΠϒϥϦ • Java • JavaScript • .NET • Groovy • PHP • Perl • Python • Ruby ίϛϡχςΟαϙʔτΫϥΠΞϯτ͸ͪ͜Β
 http://www.elasticsearch.org/guide/en/elasticsearch/client/ community/current/clients.html

Slide 25

Slide 25 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ͦͷଞͷಛ௃ • ػೳ͕๛෋ • ίϛϡχςΟͳͲ͕׆ൃ • ։ൃ΋׆ൃ • ֤छΫϥ΢υج൫Ͱͷӡ༻͕༰қ • શจݕࡧҎ֎Ͱͷ׆༻

Slide 26

Slide 26 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ֤छΫϥ΢υج൫Ͱར༻Մೳ • ֤छΫϥ΢υͰར༻͢ΔͨΊͷϓϥάΠϯ • AWS https://github.com/elasticsearch/elasticsearch-cloud-aws/ • GCE https://github.com/elasticsearch/elasticsearch-cloud-gce • Azure https://github.com/elasticsearch/elasticsearch-cloud-azure

Slide 27

Slide 27 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited click-to-deploy • Google Cloud PlatformͰ͸click-to-deploy΋Մೳ http://www.elasticsearch.org/blog/google-cloud-platform- delivers-real-time-search-with-click-to-deploy-elasticsearch/ • Azure searchͷόοΫΤϯυ΋elasticsearch

Slide 28

Slide 28 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ͦͷଞͷಛ௃ • ػೳ͕๛෋ • ίϛϡχςΟͳͲ͕׆ൃ • ։ൃ΋׆ൃ • ֤छΫϥ΢υج൫Ͱͷӡ༻͕༰қ • શจݕࡧҎ֎Ͱͷ׆༻

Slide 29

Slide 29 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ݕࡧҎ֎Ͱ΋ • ElasticsearchʴLogstash/FluentdʴKibana ϩάσʔλͷՄࢹԽ
 Logstashɿϩάͷऩू
 Elasticsearchɿϩάͷอଘ Kibana 3 or 4ɿϩάͷՄࢹԽ

Slide 30

Slide 30 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Logstash in 10 seconds • ϩάɾσʔλͷऩूɾ؅ཧ • ऩूɺύʔεɾՃ޻ɺૹग़ • Apache License 2.0 • Ruby app (JRuby)

Slide 31

Slide 31 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Kibana3

Slide 32

Slide 32 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited Kibana 4 (Beta3)

Slide 33

Slide 33 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited ࢀߟจݙ • Elasticsearch - The Definitive guide http://www.elasticsearch.com/guide/en/elasticsearch/guide/ current/index.html • ॻ੶ʢ೔ຊޠʣ ElasticSearchServer೔ຊޠ൛
 αʔό/ΠϯϑϥΤϯδχΞ
 ɹཆ੒ಡຊɹϩάऩू

Slide 34

Slide 34 text

Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission is strictly prohibited elasticsearchษڧձ • elasticsearchษڧձ http://elasticsearch.doorkeeper.jp 2ϲ݄ʹ1ճఔ౓ͷස౓Ͱ։࠵ • 2/13(ۚ)ʹୈ8ճΛ։࠵ ৔ॴɿϦΫϧʔτςΫϊϩδʔζ
 ɹɹɹάϥϯτ΢Ωϣ΢α΢ελϫʔ 41F http://elasticsearch.doorkeeper.jp/events/19923