Live data from Hacker News

Elasticsearch: The Definitive Guide

elastic.co

11–20 of 22 posts

Re: Elasticsearch: The Definitive Guide

#11
What I really miss from the official docs is a reference. Something that lists all endpoint sand gives a pseudo-BNF schema overview. With the current docs, seeing all the possible permutations possible within the JSON structure is left as an exercise for the reader; it really requires reading the descriptions of the APIs very closely.

Re: Elasticsearch: The Definitive Guide

#12

How is this different from Apache Lucene?

ElasticSearch is a complete, distributed search engine. It runs as a daemon, does sharing and clustering, provides APIs etc. Lucene is just a library. ElasticSearch uses Lucene internally.

And I'll say it again: Elasticsearch is one of the few things that lives up to its hype. It really is that good. Indexing, clustering, It Just Works. I'm very impressed with them and it's a refreshing change from other very hyped tech.

Re: Elasticsearch: The Definitive Guide

#13

How is this different from Apache Lucene?

Elasticsearch is built on top of Apache Lucene and is very similar to technologies like Solr but with a nicer interface (really more like SolrCloud these days).

It is different in that it provides higher level APIs and distributed functionality on top of Lucene. For example, one Elasticsearch index might contain multiple Lucene indices spread across multiple machines, but your application treats it as a single "index".

Re: Elasticsearch: The Definitive Guide

#14

What I really miss from the official docs is a reference. Something that lists all endpoint sand gives a pseudo-BNF schema overview. With the current docs, seeing all the possible permutations possible within the JSON structure is left as an exercise for the reader; it really requires reading the descriptions of the APIs very closely.

I wish they did this and had a better search interface. Their current "all in one bar + suggest" functionality works somewhat poorly for me.

Also I feel like they could reduce the needs for super great API docs if they had something like a query optimizer so that I don't have to care about the exact way that ES translates my queries into Lucene queries. My favorite bit is how if you permute your filters and queries in the wrong order you end up completely killing your performance (filter then query or query then filter).

Re: Elasticsearch: The Definitive Guide

#15
post #14

What I really miss from the official docs is a reference. Something that lists all endpoint sand gives a pseudo-BNF schema overview. With the current docs, seeing all the possible permutations possible within the JSON structure is left as an exercise for the reader; it really requires reading the descriptions of the APIs very closely.

I wish they did this and had a better search interface. Their current "all in one bar + suggest" functionality works somewhat poorly for me. Also I feel like they could reduce the needs for super great API docs if they had something like a query optimizer so that I don't have to care about the exact way that ES translates my queries into Lucene queries. My favorite bit is how if you permute your filters and queries i…

I believe filters and queries are in the process of being merged. Quite possibly they are moving towards having some kind of planner.

Re: Elasticsearch: The Definitive Guide

#16

Earlier quoted context omitted.

ElasticSearch is a complete, distributed search engine. It runs as a daemon, does sharing and clustering, provides APIs etc. Lucene is just a library. ElasticSearch uses Lucene internally.

And I'll say it again: Elasticsearch is one of the few things that lives up to its hype. It really is that good. Indexing, clustering, It Just Works. I'm very impressed with them and it's a refreshing change from other very hyped tech.

I actually have quite a few gripes with Elasticsearch. It's a pain to manage - there seems to be no way of killing long-running queries other than restarting it (so if you have users using kibana etc at some point someone will submit a impossibly hard query and kill the server), the quality of the search results just isn't that good and it takes a lot of customization to improve it - I've never been impressed with the results from any of the large deployments (e.g. github). Ideally it would come with good tokenization and synonyms etc out of the box rather than every deployment having to tinker with settings until it seems to work.

That said ELK is great overall and I would still use it for user-facing search, but I think there is still a lot to improve.

Re: Elasticsearch: The Definitive Guide

#18

How is this different from the usual API docs? I'm not saying that it isn't, I'm just curious as to how it is.

If you want to get ready fast - It is seriously much more easier to read the book (print or ebook) compared to this link. Saved me a lot of time.

Re: Elasticsearch: The Definitive Guide

#19
This guide is pretty good and gives you a comprehensive view of Elasticsearch, but to me it was a bit confusing when I first read it. If you are looking for a more "tutorial" style book, with some examples and use-cases, I would recommend "Elasticsearch in action"[0].

I might be biased towards Manning books, but I find their style and ELI5 wording to be very helpful as an introduction to a subject.

[0] http://www.manning.com/hinman/

Post reply on HN