Elasticsearch easy
Which protocol and interface style is most commonly used for application interaction with an Elasticsearch cluster?
- A GraphQL over WebSockets.
- B RESTful API over HTTP, typically using JSON-encoded request bodies.
- C Standard SQL over a persistent JDBC connection.
- D Binary RPC over UDP.
Answer: B. RESTful API over HTTP, typically using JSON-encoded request bodies.
Elasticsearch was designed to be 'Web Native'. Its RESTful API makes it accessible to any programming language. You manage indices, index documents, and perform searches using clean, standard HTTP methods (GET, POST, PUT, DELETE).
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What are the two primary reasons for configuring one or more 'Replica Shards' for an index?
- When a String field is mapped as `text`, what process is performed to enable full-text search capability?
- What is the primary benefit of splitting an Elasticsearch index into multiple 'Primary Shards'?
- Every document stored in an Elasticsearch index is uniquely tracked by which mandatory metadata field?
- Elasticsearch search results include a metadata field called `_score`. What does this value primarily indicate?
- What is the primary architectural purpose of Elasticsearch in a modern software stack?