Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

raygun's avatar

How much is elasticsearch

I can't for the life of me find the price of elastic search nor can I find out if its free. people keep suggesting it but I don't know what's the cost

0 likes
8 replies
polyfractal's avatar

Hi there, I'm a developer at Elastic. I can indeed confirm that Elasticsearch is absolutely free. :)

It is OSS licensed under Apache 2 license. We provide release builds, but you could always theoretically build it yourself from the git repo: https://github.com/elastic/elasticsearch

Elastic offers commercial products in the form of plugins (Marvel, Watcher, Shield) as well as support, consulting and training services. And as @nisaac2fly mentioned, we now offer Found as a hosted service if you don't want to host the cluster yourself.

2 likes
polyfractal's avatar

@WangEnder Well, I'm obviously biased since I work at Elastic (and have been using ES for years before I joined the company). I answered a similar question in a lot of depth here: https://laracasts.com/discuss/channels/general-discussion/anyone-still-thinking-about-elasticsearch-now-jeff-has-started-with-algolia/replies/75160

tl;dr: Agolia is a great turnkey solution for a narrow problem, while Elasticsearch is inherently more flexible because you have complete control over the entire server. And it is flexible enough to serve a variety of needs (log analytics, enterprise search, alerting platform, geo functionality, etc). The cost of the flexibility is a bit of a learning curve, and there is no turnkey interface / client code. You can think of Elasticsearch like a database: you put things in and query it for results, but the interface and client code is entirely up to you.

Regarding speed, I've yet to see a compelling benchmark that demonstrates ES is slower than Algolia. E.g. The completion suggester returns as-you-type suggestions in sub-millisecond time...the vast majority of the latency is just network transfer unrelated to ES.

1 like
WangEnder's avatar

@polyfractal Algolia there is good example for e-commerce http://demos.algolia.com/instant-search-demo/ ,do you think ES is fit for this kind of usage? I am trying to use ES to provide search service for my website's product search.I am afraid of ES can't be fast enough for end user of Internet. If search a product spend much time,that's a very bad experience.

polyfractal's avatar

@WangEnder Plenty of companies use ES for e-commerce. See our Case Studies page for companies doing stuff like this all the time. In ES, that would be a combination of search (the results) + aggregations (the facets on the side) + one or more suggesters for the autocomplete and "did you mean", served by some zippy client-side JS.

I don't really want this to derail this thread into me shilling ES though. :) I think Algolia has a free trial, and ES is straight up free, so you should be able to get a good feeling for both without much commitment. Knock out a prototype in both and see which you like better.

The Definitive Guide is a good starting place to learn if you are new to ES and search in general.

1 like
WangEnder's avatar

@polyfractal Thank you very much. I have tried Algolia on my project,it's good,but too expensive,so I plan to give up it . Now I am reading Elasticsearch's The Definitive Guide ,If ES can do well what algolia can do,I must chose ES,not Algolia. 49$/m can only buy 1M operation( search query or indexing request),1M operation can do nothing,really too expensive.

Please or to participate in this conversation.