Jump to content

Elasticsearch

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Fuzheado (talk | contribs) at 04:29, 27 November 2022 (Reverted edits by 2001:268:C28A:A1F8:808F:25DE:3211:4EBC (talk) (HG) (3.4.10)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Elasticsearch
Original author(s)Shay Banon
Developer(s)Elastic NV
Initial release8 February 2010; 14 years ago (2010-02-08)
Stable release
8.x8.5.0 / 1 November 2022; 2 years ago (2022-11-01)[1]
7.x7.17.7 / 25 October 2022; 2 years ago (2022-10-25)[1]
Repositorygithub.com/elastic/elasticsearch
Written inJava
Operating systemCross-platform
TypeSearch and index
LicenseDual-licensed Elastic License (proprietary; source-available) and Server Side Public License (proprietary; source-available)
Websitewww.elastic.co/elasticsearch/ Edit this on Wikidata
Shay Banon talking about Elasticsearch at Berlin Buzzwords 2010

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,[2] while other parts[3] fall under the proprietary (source-available) Elastic License. Official clients are available in Java,[4] .NET[5] (C#), PHP,[6] Python,[7] Ruby[8] and many other languages.[9] According to the DB-Engines ranking, Elasticsearch is the most popular enterprise search engine.[10]

History

Shay Banon created the precursor to Elasticsearch, called Compass, in 2004.[11] 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".[11] 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.[11] Shay Banon released the first version of Elasticsearch in February 2010.[12]

Elastic NV was founded in 2012 to provide commercial services and products around Elasticsearch and related software.[13] 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.[14]

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

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

Release history

Major releases:[18]

  • 1.0.0 – February 12, 2014
  • 2.0.0 – October 28, 2015
  • 5.0.0 – October 26, 2016
  • 6.0.0 – November 14, 2017
  • 7.0.0 – April 10, 2019
  • 8.0.0 – February 10, 2022

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.[19][20] 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][21] 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.[2][22] 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.[23][24][25] Due to potential trademark issues with using the name "Elasticsearch", AWS rebranded their fork as OpenSearch in April 2021.[26][27]

Features

Elasticsearch can be used to search any kind of document. It provides scalable search, has near real-time search, and supports multitenancy.[28] "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".[28] 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.[29]

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".[30] (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),[31][32] which can be useful for notifying if new documents match for registered queries. Another feature, "gateway", handles the long-term persistence of the index;[33] 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,[34] but it lacks distributed transactions.[35]

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.[36] The corresponding source code is available under the “Elastic License”, a source-available license.[37] In addition, Elasticsearch now offers SIEM[38] and Machine Learning [39] as part of its offered services.

Managed services

Developed from the Found acquisition by Elastic in 2015,[40] 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.[41] In late 2017, Elastic formed partnerships with Google to offer Elastic Cloud in 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[42][43] Elasticsearch Service users can create secure deployments with partners, Google Cloud Platform (GCP)  and Alibaba Cloud.[44][45]

AWS has offered Elasticsearch as a managed service since 2015.[46][47][48] Such managed services provide hosting, deployment, backup and other support.[49] Most managed services also include support for Kibana.[citation needed]

See also

References

  1. ^ a b "Releases · elastic/elasticsearch". Retrieved 5 November 2022 – via GitHub.
  2. ^ a b Krazit, Tom (21 January 2021). "'It's not OK': Elastic takes aim at AWS, at the risk of major collateral damage". Protocol. Retrieved 22 January 2021.
  3. ^ "No, Elastic X-Pack is not going to be open source - according to Elastic themselves -". Flax.co.uk. 2 March 2018. Retrieved 14 March 2019.
  4. ^ "Elasticsearch Java Client". github.com. Retrieved 7 October 2022.
  5. ^ "Elasticsearch .NET Client". github.com. Retrieved 7 October 2022.
  6. ^ "Elasticsearch PHP Client". github.com. Retrieved 7 October 2022.
  7. ^ "Elasticsearch Python Client". github.com. Retrieved 7 October 2022.
  8. ^ "Elasticsearch Ruby Client". github.com. Retrieved 7 October 2022.
  9. ^ "Programming Language Clients". elastic.co. Retrieved 7 October 2022.
  10. ^ "DB-Engines Ranking - popularity ranking of search engines". db-engines.com. Retrieved 10 January 2016.
  11. ^ a b c Banon, Shay. "The Future of Compass & ElasticSearch".
  12. ^ Banon, Shay (8 February 2010). "You Know, for Search". Archived from the original on 16 January 2013.
  13. ^ "Immediate Insight from Data Matters". elastic.co. Retrieved 25 March 2015.
  14. ^ "ElasticSearch Scores $70M In Series C To Fund Growth Spurt". TechCrunch. AOL. Retrieved 25 March 2015.
  15. ^ "Elasticsearch Changes Name to Elastic to Reflect Wide Adoption Beyond Search". Elastic.co. 10 March 2015. Retrieved 19 October 2016.
  16. ^ Schleifer, Theodore (21 June 2018). "The IPOs keep coming: The search company Elastic has filed to go public". Recode. Archived from the original on 5 October 2018. Retrieved 22 June 2018.
  17. ^ Banon, Shay (5 October 2018). "Ze Bell Has Rung: Thank You Users, Customers, and Partners". Elastic (NV). Retrieved 24 October 2018.
  18. ^ "Past Releases of Elastic Stack Software". Elasticsearch B.V. Retrieved 13 July 2021.
  19. ^ Banon, Shay (14 January 2021). "Doubling down on open, Part II". Elastic. Retrieved 19 January 2021.
  20. ^ a b Vaughan-Nichols, Steven J. "Elastic changes open-source license to monetize cloud-service use". ZDNet. Retrieved 23 January 2021.
  21. ^ Banon, Shay (19 January 2021). "Amazon: NOT OK - why we had to change Elastic licensing". Elastic. Retrieved 19 January 2021.
  22. ^ "Stepping up for a truly open source Elasticsearch". Amazon Web Services. 21 January 2021. Retrieved 28 January 2021.
  23. ^ Vaughan-Nichols, Steven J. "AWS, as predicted, is forking Elasticsearch". ZDNet. Retrieved 28 January 2021.
  24. ^ "CrateDB Doubling Down on Permissive Licensing and the Elasticsearch Lockdown". CrateDB. 27 January 2021. Retrieved 28 January 2021.
  25. ^ "Momentum Builds to Break Elasticsearch Licensing Deadlock". Datanami. 25 January 2021. Retrieved 31 January 2021.
  26. ^ Anderson, Tim (13 April 2021). "You know what? Fork this: AWS renames its take on Elasticsearch to OpenSearch following trademark fight". The Register. Retrieved 13 April 2021.
  27. ^ TheRegister (12 Sep 2021) Amazon Elasticsearch Service is so flexible it wants to be called by a new name
  28. ^ a b "Official Website". Elasticsearch.org. Retrieved 4 February 2014.
  29. ^ "How to monitor Elasticsearch performance". How to monitor Elasticsearch performance. 26 September 2016.
  30. ^ "Elastic brings order to its product line with Elastic Stack". Social.techcrunch.com. Retrieved 1 April 2019.
  31. ^ "percolate at elasticsearch.org reference". Elasticsearch.org. Archived from the original on 2 October 2013. Retrieved 4 February 2014.
  32. ^ "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
  33. ^ "elasticsearch Guide: Gateway". Elasticsearch.org. Retrieved 19 April 2013.
  34. ^ "Elasticsearch as database". Karussell.wordpress.com. 13 July 2011. Retrieved 4 February 2014.
  35. ^ "No transaction support". Elasticsearch-users.115913.n3.nabble.com. 8 July 2010. Retrieved 4 February 2014.
  36. ^ "Security for Elasticsearch is now free". Elastic Blog. 20 May 2019. Retrieved 17 June 2019.
  37. ^ "Doubling Down on Open". Elastic Blog. 27 February 2018. Retrieved 24 October 2019.
  38. ^ "Introducing Elastic SIEM". Elastic Blog. 25 June 2019. Retrieved 2 March 2020.
  39. ^ "Introducing Machine Learning for the Elastic Stack". Elastic Blog. 4 May 2017. Retrieved 2 March 2020.
  40. ^ Oliver, Andrew C. (10 March 2015). "Elasticsearch buys into search as a service, rebrands as 'Elastic'". InfoWorld.com. Retrieved 1 April 2019.
  41. ^ "Elastic acquires search startup Swiftype". Social.techcrunch.com. Retrieved 1 April 2019.
  42. ^ "Open Source Search & Analytics · Elasticsearch - Elastic". Elastic.co. August 2018. Retrieved 22 April 2019.
  43. ^ "Elastic Cloud: Hosted Elasticsearch, Hosted Search | Elastic". Elastic.co. Retrieved 1 April 2019.
  44. ^ Yegulalp, Serdar (7 April 2017). "Google Cloud to host open source Elasticsearch". InfoWorld.com. Retrieved 1 April 2019.
  45. ^ "Alibaba Cloud to Offer Elasticsearch, Kibana, and X-Pack in China". Elastic.co. 13 October 2017. Retrieved 1 April 2019.
  46. ^ "New – Amazon Elasticsearch Service". Amazon Web Services. 1 October 2015. Retrieved 22 April 2019.
  47. ^ "Amazon Elasticsearch Service – Amazon Web Services (AWS)". Amazon Web Services, Inc. (in Latin). Retrieved 8 February 2019.
  48. ^ "Hosted Elasticsearch & Kibana on AWS". Elastic.co. Retrieved 16 October 2016.
  49. ^ "Elasticsearch Setup". Ctovision.com. Archived from the original on 21 August 2018. Retrieved 16 October 2016.