Upload
waldemar-neto
View
95
Download
1
Embed Size (px)
Citation preview
‘’“Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License.”
Banon. Shay
9
Índice invertido, onde a magia acontece
Term Doc_1 Doc_2 Doc_3
Waldemar x x
Bicicleta x x x
Avião x
15
1. Score1.1. Bicicleta 31.2. Waldemar 21.3. Avião 1
Escalonamento
17
CLUSTER
NODE 1 - MASTER
SHARD1 REPLICA3
NODE 2
SHARD2 REPLICA1
NODE 3
SHARD3 REPLICA2
Indexando um documento
18
CLUSTER
NODE 1 - MASTER
SHARD1 REPLICA3
NODE 2
SHARD2 REPLICA1
NODE 3
SHARD3 REPLICA2CLIENT
Buscando documentos
19
CLUSTER
NODE 1 - MASTER
SHARD1 REPLICA3
NODE 2
SHARD2 REPLICA1
NODE 3
SHARD3 REPLICA2CLIENT
Falhas no cluster
20
CLUSTER
NODE 1 - MASTER
SHARD1 REPLICA3
NODE 2
SHARD2 REPLICA1
NODE 3
SHARD3 REPLICA2
O que o elasticsearch me oferece?
▣ Queries▣ Filtros▣ Geolocation▣ Aggregations▣ Full Text Search▣ Escalabilidade▣ Comunicação RESTful
26
100.000+Documentos indexados
200msTempo médio de resposta para as requisições
30.000+Dispositivos consultando
42