51. search across _type(s)
search on both `cd` and `book` using `name`
$ curl -XGET ‘host:9200/amazon/cd,book/_search?q=name:call’
52. search across _type(s)
search on both `cd` and `book` using `name`
$ curl -XGET ‘host:9200/amazon/cd,book/_search?q=name:call’
search on `_all` types using `name`
$ curl -XGET ‘host:9200/amazon/_search?q=name:call’
53. search across _type(s)
search on both `cd` and `book` using `name`
$ curl -XGET ‘host:9200/amazon/cd,book/_search?q=name:call’
search on `_all` types using `name`
$ curl -XGET ‘host:9200/amazon/_search?q=name:call’
search on specific fields types
$ curl -XGET ‘host:9200/amazon/_search?q=book.author.first_name:jack
OR cd.artist:jack‘
54. book and cd can be indices as well
$ curl -XPUT host:9200/book/info/0812504321 -d ‘
{
"isbn" : "0812504321",
"name" : "Call of the Wild",
"author" : {
"first_name" : "Jack",
"last_name" : "London"
},
"pages" : 128,
"tag" : ["fiction", "children"]
}
‘
55. ... `book` is now the _index
$ curl -XPUT host:9200/book/info/0812504321 -d ‘
{
"isbn" : "0812504321",
"name" : "Call of the Wild",
"author" : {
"first_name" : "Jack",
"last_name" : "London"
},
"pages" : 128,
"tag" : ["fiction", "children"]
}
‘
57. cd is an index as well
$ curl -XPUT host:9200/cd/info/B00192IV0O -d ‘
{
"asin" : "B00192IV0O",
"name" : "THE E.N.D. (Energy Never Dies)",
"artist" : "Black Eyed Peas",
"label" : "Interscope",
"release_date": "2009-06-09",
"tag" : ["hip-hop", "pop-rap"]
}
‘
59. search across _index(es)
search on both `cd` and `book` using `name`
$ curl -XGET ‘host:9200/cd,book/info/_search?q=name:call’
60. search across _index(es)
search on both `cd` and `book` using `name`
$ curl -XGET ‘host:9200/cd,book/info/_search?q=name:call’
search on `_all` indices using `name`
$ curl -XGET ‘host:9200/_search?q=name:call’
120. long_term persistency
- similar to apple time_machine
- or data_grid write_behind
- write changes to index / translog
121. long_term persistency
- similar to apple time_machine
- or data_grid write_behind
- write changes to index / translog
- to a shared persistent storage
122. long_term persistency
- similar to apple time_machine
- or data_grid write_behind
- write changes to index / translog
- to a shared persistent storage
- asynchronously (reliable)
123. long_term persistency
- similar to apple time_machine
- or data_grid write_behind
- write changes to index / translog
- to a shared persistent storage
- asynchronously (reliable)
- low requirements from storage
124. long_term persistency
- similar to apple time_machine
- or data_grid write_behind
- write changes to index / translog
- to a shared persistent storage
- asynchronously (reliable)
- low requirements from storage
- cluster meta_data persisted
128. long_term persistency ... storage options
- shared file system
- no need for locking, etc ...
- hadoop, using HDFS
129. long_term persistency ... storage options
- shared file system
- no need for locking, etc ...
- hadoop, using HDFS
- cloud (aws_s3, rackspace_cloud_files)
133. long_term persistency ... node storage
- considered transient
- can be recovered from gateway
- can be stored on
134. long_term persistency ... node storage
- considered transient
- can be recovered from gateway
- can be stored on
- local file system
135. long_term persistency ... node storage
- considered transient
- can be recovered from gateway
- can be stored on
- local file system
- heap (jvm) memory
136. long_term persistency ... node storage
- considered transient
- can be recovered from gateway
- can be stored on
- local file system
- heap (jvm) memory
- native (os) memory
137. long_term persistency ... node storage
- considered transient
- can be recovered from gateway
- can be stored on
- local file system
- heap (jvm) memory
- native (os) memory
- fs & memory combination
145. native cloud support ... storage
- local storage is wiped
- use external storage (aws ebs)
146. native cloud support ... storage
- local storage is wiped
- use external storage (aws ebs)
- needs to be per machine / shard
147. native cloud support ... storage
- local storage is wiped
- use external storage (aws ebs)
- needs to be per machine / shard
- can get wiped as well ...
148. native cloud support ... storage
- local storage is wiped
- use external storage (aws ebs)
- needs to be per machine / shard
- can get wiped as well ...
- mmm..., ok, snapshot to aws s3
149. native cloud support ... storage
- local storage is wiped
- use external storage (aws ebs)
- needs to be per machine / shard
- can get wiped as well ...
- mmm..., ok, snapshot to aws s3
- expensive => ebs & s3
150. native cloud support ... storage
- local storage is wiped
- use external storage (aws ebs)
- needs to be per machine / shard
- can get wiped as well ...
- mmm..., ok, snapshot to aws s3
- expensive => ebs & s3
- snapshot interval problematic
151. native cloud support ... storage
- local storage is wiped
- use external storage (aws ebs)
- needs to be per machine / shard
- can get wiped as well ...
- mmm..., ok, snapshot to aws s3
- expensive => ebs & s3
- snapshot interval problematic
154. native cloud support ... the elastic way
- use long term persistency
- directly into cloud blob storage
155. native cloud support ... the elastic way
- use long term persistency
- directly into cloud blob storage
- aws s3, rackspace cloud_files
156. native cloud support ... the elastic way
- use long term persistency
- directly into cloud blob storage
- aws s3, rackspace cloud_files
157. native cloud support ... the elastic way
- use long term persistency
- directly into cloud blob storage
- aws s3, rackspace cloud_files
- reliable & asynchronous
165. native cloud support ... the elastic way
- discovery support multicast & unicast
166. native cloud support ... the elastic way
- discovery support multicast & unicast
- but also support cloud discovery
167. native cloud support ... the elastic way
- discovery support multicast & unicast
- but also support cloud discovery
- use cloud_provider API
168. native cloud support ... the elastic way
- discovery support multicast & unicast
- but also support cloud discovery
- use cloud_provider API
- ... to get the current list of nodes
170. ping end_session
icmq_seq=0 desc=brief overview of elasticsearch
171. ping end_session
icmq_seq=0 desc=brief overview of elasticsearch
icmq_seq=1 version=current version is 0.8
172. ping end_session
icmq_seq=0 desc=brief overview of elasticsearch
icmq_seq=1 version=current version is 0.8
icmq_seq=2 notice=is beta
173. ping end_session
icmq_seq=0 desc=brief overview of elasticsearch
icmq_seq=1 version=current version is 0.8
icmq_seq=2 notice=is beta
so expect bugs ...
174. ping end_session
icmq_seq=0 desc=brief overview of elasticsearch
icmq_seq=1 version=current version is 0.8
icmq_seq=2 notice=is beta
so expect bugs ...
they are actively fixed
175. ping end_session
icmq_seq=0 desc=brief overview of elasticsearch
icmq_seq=1 version=current version is 0.8
icmq_seq=2 notice=is beta
so expect bugs ...
they are actively fixed
as new features are being added
176. ping end_session
icmq_seq=0 desc=brief overview of elasticsearch
icmq_seq=1 version=current version is 0.8
icmq_seq=2 notice=is beta
so expect bugs ...
they are actively fixed
as new features are being added
icmq_seq=3 join=mailing list, suggestions, code
177. ping end_session
icmq_seq=0 desc=brief overview of elasticsearch
icmq_seq=1 version=current version is 0.8
icmq_seq=2 notice=is beta
so expect bugs ...
they are actively fixed
as new features are being added
icmq_seq=3 join=mailing list, suggestions, code
icmq_seq=4 thanks!