Elasticsearch
Elasticsearch questions aimed at gearing up for the Elastic Certified Engineer Exam
11 flashcards · Computer Science · by kylemclaren
In a few words, what is Elasticsearch?
Elasticsearch is the distributed search and analytics engine at the heart of the Elastic Stack. Elasticsearch is where the indexing, search, and analysis magic happens.
The default value for `http.max_content_length` is 100mb
Aim for shard sizes between 10GB and 50GB
Shard sizing considerations in modern versions of Elasticsearch.
What is an Inverted Index?
An inverted index lists every unique word that appears in any document and identifies all of the documents each word occurs in.
For Elasticsearch clusters, Elastic Cloud gives 50% of the available memory to the JVM heap used by Elasticsearch, while leaving the other 50% for the operating system.
JVM options can be configured by setting the setting the ES_JAVA_OPTS environment variable
You define a node’s roles by setting node.roles in the elasticsearch.yml file
Every cluster requires the following node roles: master data_content and data_hot OR data
Cross-cluster search and cross-cluster replication require the remote_cluster_client role
Stack Monitoring and ingest pipelines require the ingest role
Define a curl request to return a cluster's health: GET /_cluster/health