ELASTICSEARCH
The Elastic Fantastic
From bottom
to top
What’s elastic?
Basic Concepts
• Cluster
• Node
• Index
• Document
• Shards
• Replicas
Inverted Index
Sample Inverted Index
Analysis
The process of converting text
• Lower case each token
• Remove stop words
• Stem the words
"The QUICK brown foxes jumped over the lazy dog!"
[ quick, brown, fox, jump, over, lazi, dog ]
Tokenizer
N-Gram Tokenizer
quick → [qu, ui, ic, ck].
Segments in lucene
Type to enter a caption.
Translog
Type to enter a caption.
Refresh
Type to enter a caption.
Type to enter a caption.
Flush

Elasticsearch

Editor's Notes

  • #5 Cluster master datanode master contain configuration data node contain the index
  • #8 Analysis is the process of converting text. Analysis for both index and search
  • #11 receives a stream of characters, breaks it up into individual tokens