Fellows, thanks for the feedback!.
I can tell you that we are actively working on a whole revamp to our documentation, specifically addressing all the needs mentioned here (so we are on a good track) and then a bit more. Its going to take some time, we need to get the infra in place and some core content first, and also it has an interesting twist (suspense! : ) ). Hopefully it will come out pretty soon, and then we can start and iterate from there.
On Feb 13, 2013, at 10:59 AM, Jilles van Gurp jillesvangurp@gmail.com wrote:
The Elasticsearch documentation definitely covers most of the feature set, which is good. That being said, there is lots of room for improvement and I have definitely struggled with figuring out what should be very basic things on a number of occasions.
The structure is definitely a massive problem for new users. Basically what they need to know is scattered over dozens of pages. These pages are full of code fragments that are not complete working examples but small fragments of json that require non trivial other bits of other json that you have to hunt together over mostly unlinked other pages. In many cases it is actually quite ambiguous what you are supposed to do. It took me several days to make sense of the query DSL because of this: everything I tried failed with some error and Elasticsearch is not forgiving or particularly helpful when you do things wrong.
While trying to figure out the geo_shape part of Elasticsearch I actually found out that the documentation was wrong as well (and submitted a fix): one of the documented field names had been renamed and several of the json fragments did not actually parse due to missing commas and other typing mistakes.
For geo_shape alone, there are at least three relevant pages: one for the mapping, one for querying, and one for filter queries. The examples on these pages don't line up. What would have been helpful for this particular feature would have been a single page about how to work with geo_shape in Elasticsearch that includes:
- sample documents with the different geo_shape types
- a working mapping for these documents
- a few working queries. I have actually yet to find a way to get this working at all: it consistently fails for me with a max clauses error, I suspect this is broken currently. If not please fix the documentation.
- a few working filter queries (this actually works)
- the current reference documentation for the different field names in the json
I think restructuring the documentation around working code examples like this would be a good idea for most major features in Elasticsearch. Mostly this would actually help maintaining the documentation as well. If you have complete code samples, people are going to notice when they don't work. Also having a single page to fix instead of three or more helps developers as well when they are working on the code and documentation.
Jilles
On Tuesday, January 15, 2013 6:01:12 PM UTC+1, jtr...@gmail.com wrote:
It took me about four days on and off to figure out how to use the documentation "navigation" (navigation definitely needs quotes there). Basically, I can fork this thing and rework the TOC and someone will pull it back in within a reasonable time frame? See, I heard that ES documentation was just horrible, so I concluded that this is just how it is, but there really is quite a bit in there once you find it.
My main gripe is the the table of contents hierarchy which just goes all over the place. It wasn't until I started examining the URL bar and using that to navigate up that I saw what was going on. Fortunately, the search is pretty fantastic (!), but that's not really where newbies are going to start.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.