Elasticsearch 面接の質問と回答
質問 36. What is the purpose of the 'CAT API' in Elasticsearch?
The CAT API provides concise information about the cluster, indices, and nodes in a human-readable format.
質問 37. Explain the purpose of the 'Analyzer' in Elasticsearch.
An analyzer in Elasticsearch is responsible for processing the text during indexing and searching. It includes a tokenizer and one or more token filters.
Example:
PUT /my_index
{
"settings": {
"analysis": {
"analyzer": {
"custom_analyzer": {
"type": "custom",
"tokenizer": "standard",
"filter": ["lowercase", "my_custom_filter"]
}
}
}
}
}
質問 38. Describe the 'Search Shards' concept in Elasticsearch.
Search Shards are individual units of a search request distributed across nodes for parallel processing.
質問 39. What is a 'Node' in Elasticsearch?
A node is a single instance of Elasticsearch running on a machine. It is part of a cluster and stores data and participates in the indexing and search capabilities of Elasticsearch.
Example:
GET /_cat/nodes?v
質問 40. Explain the use of the 'Alias' feature in Elasticsearch.
Aliases are used to provide a permanent and abstract name to an index, simplifying index management and searches.
ユーザー評価で最も役立つ内容: