Elasticsearch is the name of a full-text search engine in computer science, distributed for free under the Apache license. It has a RESTful interface and offers high availability, speed, and scalability. It is developed in Java and can be communicated with via the web interface.
Elasticsearch is a schematic database, therefore it is not necessary to define the database structure because it is created based on embedded data. It can be included on the list of NoSQL databases.
Communication over HTTP - for example, deletion is performed by the HTTP method DELETE. Requests and replies are in JSON format. This allows Elasticsearch to be used by any programming language.
Although Elasticsearch requires installation of a Java Runtime Environment.
Key properties:
Fulltext search
It can also be used to intelligently prefill forms on the web.
RESTful API
Elasticsearch | relational databases |
---|---|
Index | Database |
Type (type) | Table |
Document (document) | Record (table row) |
Field (field) | Attribute (table column) |
A Document
is a text file that contains searched information. In the case of Elasticsearch, it is specifically a JSON file.
The document is a table of different data types. In the case of Elasticsearch it is not required to define them in advance. Elasticsearch is created by default, based on the document structure.
Documents are stored in an index, similar to a database schema as in a relational database. At its level, it is possible to set storage parameters common to the whole set of documents.
Do you have any questions or comments? Contact Us