Elasticsearch Explained

Elasticsearch should not be confused with Elasticsearch (company).

Elasticsearch
Logo Size:240px
Developer:Elastic NV
Author:Shay Banon
Operating System:Cross-platform
Programming Language:Java
Genre:Search and index
License:Dual-licensed Elastic License (proprietary; source-available) and Server Side Public License (proprietary; source-available)

Elasticsearch is a search engine based on the Lucene library. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elasticsearch is developed in Java and is dual-licensed under the (source-available) Server Side Public License and the Elastic license,[1] while other parts[2] fall under the proprietary (source-available) Elastic License. Official clients are available in Java,[3] .NET[4] (C#), PHP,[5] Python,[6] Ruby[7] and many other languages.[8] According to the DB-Engines ranking, Elasticsearch is the most popular enterprise search engine.[9]

History

Shay Banon created the precursor to Elasticsearch, called Compass, in 2004.[10] While thinking about the third version of Compass he realized that it would be necessary to rewrite big parts of Compass to "create a scalable search solution".[10] So he created "a solution built from the ground up to be distributed" and used a common interface, JSON over HTTP, suitable for programming languages other than Java as well.[10] Shay Banon released the first version of Elasticsearch in February 2010.[11]

Elastic NV was founded in 2012 to provide commercial services and products around Elasticsearch and related software.[12] In June 2014, the company announced raising $70 million in a Series C funding round, just 18 months after forming the company. The round was led by New Enterprise Associates (NEA). Additional funders include Benchmark Capital and Index Ventures. This round brought total funding to $104M.[13]

In March 2015, the company Elasticsearch changed its name to Elastic.[14]

In June 2018, Elastic filed for an initial public offering with an estimated valuation of between 1.5 and 3 billion dollars.[15] On 5 October 2018, Elastic was listed on the New York Stock Exchange.[16]

Release history

Major releases:[17]

Licensing changes

In January 2021, Elastic announced that starting with version 7.11, they would be relicensing their Apache 2.0 licensed code in Elasticsearch and Kibana to be dual licensed under Server Side Public License and the Elastic License, neither of which is recognized as an open-source license.[18] [19] Elastic blamed Amazon Web Services (AWS) for this change, objecting to AWS offering Elasticsearch and Kibana as a service directly to consumers and claiming that AWS was not appropriately collaborating with Elastic.[20] Critics of the re-licensing decision predicted that it would harm Elastic's ecosystem and noted that Elastic had previously promised to "never....change the license of the Apache 2.0 code of Elasticsearch, Kibana, Beats, and Logstash". Amazon responded with plans to fork the projects and continue development under Apache License 2.0.[21] Other users of the Elasticsearch ecosystem, including Logz.io, CrateDB and Aiven, also committed to the need for a fork, leading to a discussion of how to coordinate the open source efforts.[22] [23] [24] Due to potential trademark issues with using the name "Elasticsearch", AWS rebranded their fork as OpenSearch in April 2021.[25] [26]

Features

Elasticsearch can be used to search any kind of document. It provides scalable search, has near real-time search, and supports multitenancy.[27] "Elasticsearch is distributed, which means that indices can be divided into shards and each shard can have zero or more replicas. Each node hosts one or more shards and acts as a coordinator to delegate operations to the correct shard(s). Rebalancing and routing are done automatically". Related data is often stored in the same index, which consists of one or more primary shards, and zero or more replica shards. Once an index has been created, the number of primary shards cannot be changed.[28]

Elasticsearch is developed alongside the data collection and log-parsing engine Logstash, the analytics and visualization platform Kibana, and the collection of lightweight data shippers called Beats. The four products are designed for use as an integrated solution, referred to as the "Elastic Stack".[29] (Formerly the "ELK stack", short for "Elasticsearch, Logstash, Kibana".)

Elasticsearch uses Lucene and tries to make all its features available through the JSON and Java API. It supports facetting and percolating (a form of prospective search),[30]  [31] which can be useful for notifying if new documents match for registered queries. Another feature, "gateway", handles the long-term persistence of the index;[32] for example, an index can be recovered from the gateway in the event of a server crash. Elasticsearch supports real-time GET requests, which makes it suitable as a NoSQL datastore,[33] but it lacks distributed transactions.[34]

On 20 May 2019, Elastic made the core security features of the Elastic Stack available free of charge, including TLS for encrypted communications, file and native realm for creating and managing users, and role-based access control for controlling user access to cluster APIs and indexes.[35] The corresponding source code is available under the “Elastic License”, a source-available license.[36] In addition, Elasticsearch now offers SIEM[37] and Machine Learning [38] as part of its offered services.

Managed services

Developed from the Found acquisition by Elastic in 2015,[39] Elastic Cloud is a family of Elasticsearch-powered SaaS offerings which include the Elasticsearch Service, as well as Elastic App Search Service, and Elastic Site Search Service which were developed from Elastic's acquisition of Swiftype.[40] In late 2017, Elastic formed partnerships with Google to offer Elastic Cloud in Google Cloud Platform (GCP), and Alibaba to offer Elasticsearch and Kibana in Alibaba Cloud.

Elasticsearch Service on Elastic Cloud is the official hosted and managed Elasticsearch and Kibana offering from the creators of the project since August 2018.[41] [42] Elasticsearch Service users can create secure deployments with partners, Google Cloud Platform (GCP) and Alibaba Cloud.[43] [44]

AWS previously offered Elasticsearch as a managed service beginning 2015.[45] [46] [47] There are many companies that currently offer managed services, such as Elastic Co, BigData Boutique, Instacluster, and Dattell.[48] [49] [50] [51] Such managed services provide hosting, deployment, backup and other support.[52] Most managed services also include support for Kibana.

See also

Notes and References

  1. News: 2021-01-21. 'It's not OK': Elastic takes aim at AWS, at the risk of major collateral damage. 2021-01-22. Protocol. en. Krazit. Tom.
  2. Web site: No, Elastic X-Pack is not going to be open source - according to Elastic themselves -. 2018-03-02. Flax.co.uk. en-GB. 2019-03-14.
  3. Web site: Elasticsearch Java Client. github.com. 2022-10-07.
  4. Web site: Elasticsearch .NET Client. github.com. 2022-10-07.
  5. Web site: Elasticsearch PHP Client. github.com. 2022-10-07.
  6. Web site: Elasticsearch Python Client. github.com. 2022-10-07.
  7. Web site: Elasticsearch Ruby Client. github.com. 2022-10-07.
  8. Web site: Programming Language Clients. elastic.co. 2022-10-07.
  9. Web site: DB-Engines Ranking - popularity ranking of search engines . db-engines.com. 10 January 2016.
  10. Web site: Banon. Shay. The Future of Compass & ElasticSearch. 7 July 2010 .
  11. Web site: Banon. Shay. You Know, for Search. https://web.archive.org/web/20130116045454/http://www.elasticsearch.org/blog/2010/02/08/youknowforsearch.html. 2013-01-16. 2010-02-08.
  12. Web site: Immediate Insight from Data Matters . elastic.co. 25 March 2015.
  13. Web site: Miller . Ron . ElasticSearch Scores $70M In Series C To Fund Growth Spurt. AOL. TechCrunch. 5 June 2014 . 4 April 2024.
  14. Web site: Elasticsearch Changes Name to Elastic to Reflect Wide Adoption Beyond Search. Elastic.co. 10 March 2015. 19 October 2016.
  15. News: The IPOs keep coming: The search company Elastic has filed to go public. Schleifer. Theodore. 21 June 2018. Recode. 22 June 2018. https://web.archive.org/web/20181005131020/https://www.recode.net/2018/6/21/17491102/elastic-elasticsearch-ipo-confidential-filing-wall-street. 5 October 2018. dead.
  16. Web site: Ze Bell Has Rung: Thank You Users, Customers, and Partners. Banon. Shay. Elastic (NV). 24 October 2018. 5 October 2018.
  17. Web site: Past Releases of Elastic Stack Software . Elasticsearch B.V. . 13 July 2021.
  18. Web site: Banon . Shay . Doubling down on open, Part II . Elastic . 14 January 2021 . 19 January 2021.
  19. Web site: Vaughan-Nichols. Steven J.. Elastic changes open-source license to monetize cloud-service use. 2021-01-23. ZDNet. en.
  20. Web site: Banon . Shay . Amazon: NOT OK - why we had to change Elastic licensing . Elastic . 19 January 2021 . 19 January 2021.
  21. Web site: 2021-01-21. Stepping up for a truly open source Elasticsearch. 2021-01-28. Amazon Web Services. en-US.
  22. Web site: Vaughan-Nichols. Steven J.. AWS, as predicted, is forking Elasticsearch. 2021-01-28. ZDNet. en.
  23. Web site: 2021-01-27. CrateDB Doubling Down on Permissive Licensing and the Elasticsearch Lockdown. 2021-01-28. CrateDB. en-US.
  24. Web site: 2021-01-25. Momentum Builds to Break Elasticsearch Licensing Deadlock. 2021-01-31. Datanami.
  25. Web site: Anderson . Tim . You know what? Fork this: AWS renames its take on Elasticsearch to OpenSearch following trademark fight . . 2021-04-13 . 2021-04-13.
  26. https://news.slashdot.org/story/21/09/12/0321258/amazon-renames-its-open-source-fork-of-elasticsearch-amazon-opensearch-service TheRegister (12 Sep 2021) Amazon Elasticsearch Service is so flexible it wants to be called by a new name
  27. Web site: Official Website. Elasticsearch.org. 2014-02-04.
  28. Web site: How to monitor Elasticsearch performance. 26 September 2016. How to monitor Elasticsearch performance.
  29. Web site: Miller. Ron. Elastic brings order to its product line with Elastic Stack. TechCrunch. 26 October 2016. en-US. 3 April 2024.
  30. Web site: percolate at elasticsearch.org reference . Elasticsearch.org . 2014-02-04 . https://web.archive.org/web/20131002171546/http://www.elasticsearch.org/guide/reference/api/percolate/ . 2 October 2013 . dead . dmy-all .
  31. "Percolating" is a term peculiar to Elasticsearch. Percolating is a reverse search: instead of returning all the documents that match a search query, percolating returns all the (stored) search queries that match a document as their output. Nunn, Xavier; "Detecting data leaks in real time with a custom percolator", Serena Capital blogs, 2019-January-8
  32. Web site: elasticsearch Guide: Gateway. Elasticsearch.org. 19 April 2013.
  33. Web site: Elasticsearch as database. Karussell.wordpress.com. 13 July 2011. 2014-02-04.
  34. Web site: No transaction support. 2010-07-08. Elasticsearch-users.115913.n3.nabble.com. 2014-02-04.
  35. Web site: Security for Elasticsearch is now free. 2019-05-20. Elastic Blog. en-us. 2019-06-17.
  36. Web site: Doubling Down on Open. 2018-02-27. Elastic Blog. en-us. 2019-10-24.
  37. Web site: Introducing Elastic SIEM . Elastic Blog . 2019-06-25 . 2020-03-02.
  38. Web site: Introducing Machine Learning for the Elastic Stack . Elastic Blog . 2017-05-04 . 2020-03-02.
  39. Web site: Elasticsearch buys into search as a service, rebrands as 'Elastic'. Oliver. Andrew C.. 2015-03-10. InfoWorld.com. en. 2019-04-01.
  40. Web site: Ha. Anthony. Elastic acquires search startup Swiftype. TechCrunch. 9 November 2017. en-US. 3 April 2024.
  41. Web site: Open Source Search & Analytics · Elasticsearch - Elastic. Elastic.co. August 2018. 22 April 2019.
  42. Web site: Elastic Cloud: Hosted Elasticsearch, Hosted Search Elastic. Elastic.co. 2019-04-01.
  43. Web site: Google Cloud to host open source Elasticsearch. Yegulalp. Serdar. 2017-04-07. InfoWorld.com. en. 2019-04-01.
  44. Web site: Alibaba Cloud to Offer Elasticsearch, Kibana, and X-Pack in China. 2017-10-13. Elastic.co. en-us. 2019-04-01.
  45. Web site: New – Amazon Elasticsearch Service. 1 October 2015. Amazon Web Services. 22 April 2019.
  46. Web site: Amazon Elasticsearch Service – Amazon Web Services (AWS) . Amazon Web Services, Inc. . la . . 2019-02-08.
  47. Web site: Hosted Elasticsearch & Kibana on AWS. Elastic.co. 2016-10-16.
  48. Web site: Welcome to Elastic, creators of Elasticsearch & Kibana . 2023-02-21 . www.elastic.co . en-us.
  49. Web site: Managed Elasticsearch Support . 2023-02-21 . BigData Boutique . en.
  50. Web site: Homepage . 2023-02-21 . Instaclustr . en.
  51. Web site: Home . 2023-02-21 . Dattell . en-US.
  52. Web site: Elasticsearch Setup. Ctovision.com. 2016-10-16. https://web.archive.org/web/20180821114423/https://ctovision.com/aws-elasticsearch-setup/. 21 August 2018. dead.