1.elasticsearch Introduction Slides
1.elasticsearch Introduction Slides
with Elasticsearch
Rajesh Kumar
[email protected]
A little search engine history and the
importance of search
Overview
Basics steps involved in indexing
and searching documents
winter
is split words
coming
ours lowercased
the
fury
removed
punctuation
growing
strong
Tokenize Text into Words
winter 1
is 2
coming 1
ours 1
the 1
fury 1
growing 1
strong 1
Tokenize Text into Words
winter 1 Stark
is 2 Stark, Baratheon
coming 1 Stark
ours 1 Baratheon
the 1 Baratheon
fury 1 Baratheon
growing 1 Tyrell
strong 1 Tyrell
Tokenize Text into Words
winter 1 Stark
is 2 Stark, Baratheon
coming 1 Stark
ours 1 Baratheon
the 1 Baratheon
fury 1 Baratheon
growing 1 Tyrell
strong 1 Tyrell
Dictionary sorted so
lookup is easy
coming 1 Stark
fury 1 Baratheon
growing 1 Tyrell
is 2 Stark, Baratheon
ours 1 Baratheon
strong 1 Tyrell
the 1 Baratheon
winter 1 Stark
Postings
coming 1 Stark
fury 1 Baratheon
growing 1 Tyrell
is 2 Stark, Baratheon
ours 1 Baratheon
strong 1 Tyrell
the 1 Baratheon
winter 1 Stark
Search
coming 1 Stark
fury 1 Baratheon
growing 1 Tyrell
is 2 Stark, Baratheon
ours 1 Baratheon
strong 1 Tyrell
the 1 Baratheon
winter 1 Stark
winter
Search
coming 1 Stark
fury 1 Baratheon
growing 1 Tyrell
is 2 Stark, Baratheon
ours 1 Baratheon
strong 1 Tyrell
the 1 Baratheon
winter 1 Stark
fury
Search
coming 1 Stark
fury 1 Baratheon
growing 1 Tyrell
is 2 Stark, Baratheon
ours 1 Baratheon
strong 1 Tyrell
the 1 Baratheon
winter 1 Stark
is
Search
coming 1 Stark
fury 1 Baratheon
growing 1 Tyrell
is 2 Stark, Baratheon
ours 1 Baratheon
strong 1 Tyrell
the 1 Baratheon
winter 1 Stark
coming OR strong
Search
coming 1 Stark
fury 1 Baratheon
growing 1 Tyrell
is 2 Stark, Baratheon
ours 1 Baratheon
strong 1 Tyrell
the 1 Baratheon
winter 1 Stark
strong gnorts
Solr
Nutch
CrateDB
https://www.elastic.co/guide/en/elasticsearch/reference/current/get
ting-started-install.html
Elasticsearch Ports
Elasticsearch will bind to a single port for both HTTP and the
node/transport APIs.
Running as a daemon
To run Elasticsearch as a daemon, specify -d on the command line,
and record the process ID in a file using the -p option:
./bin/elasticsearch -d -p pid
Log messages can be found in the $ES_HOME/logs/ directory.
Single server
Stores your data
Performs indexing
Allows search
Has a unique id
and name
Cluster
Collection of nodes
Holds the entire
indexed data
Has a unique name
Nodes join a cluster
using the cluster name
catalog, reviews
Document
titles, description,
comments
Types
Logical partitioning of
documents
User defined
grouping semantics
Documents with the
same fields belong to
one type
Document
Sharding an index
Shards
Search in parallel on
multiple nodes
Replicas
Replicas