June 05, 2024
What is ElasticSearch?
ElasticSearch is a document-oriented search engine that allows us to index a large volume of data to be able to query them later.
What does ElasticSearch offer us?
Among other things, it allows us to perform full-text searches, approximate searches, facets, and result searches.
Once we know what it is, we will proceed with what it can provide us:
- Real-time access: ElasticSearch allows us to access data that is being modified in real-time.
- Scalability: Thanks to its design, it allows us to scale horizontally and scale our servers according to our needs.
- High availability: ElasticSearch clusters are capable of detecting which nodes are failing and reorganizing to ensure that data is always accessible.
- Multi-Tenant: It allows us to operate on different indices at the same time, thus enhancing our searches.
- Schema-free: It allows working without a fixed database structure.
- Document-oriented: Elasticsearch entities are stored as structured JSON files where all fields are indexed, and we can include all indices in the same query.
- API: ElasticSearch provides us with Restful APIs in JSON along with APIs for different languages.
- Text-based searches: ElasticSearch is based on Lucene, which enhances text search capabilities, supporting geolocation, autocomplete, etc.
- Conflict management: It prevents data loss when editing records simultaneously.
Share