没有任何关于 ElasticSearch 的书籍(据我所知),而且http://www.elasticsearch.org/guide/似乎只包含参考资料。
任何好的初学者指南或教程,也许是通过例子来推荐,特别是在不同的映射和索引策略方面?
没有任何关于 ElasticSearch 的书籍(据我所知),而且http://www.elasticsearch.org/guide/似乎只包含参考资料。
任何好的初学者指南或教程,也许是通过例子来推荐,特别是在不同的映射和索引策略方面?
编辑(2015 年 4 月):
As many have noticed, my old blog is now defunct. Most of my articles were transferred over to the Elastic blog, and can be found by filtering on my name: https://www.elastic.co/blog/author/zachary-tong
To be perfectly honest, the best source of beginner knowledge is now Elasticsearch - The Definitive Guide written by myself and Clinton Gormley.
It assumes zero search engine knowledge and explains information retrieval first principals in context of Elasticsearch. While the reference docs are all about finding the precise parameter you need, the Guide is a narrative that discusses problems in search and how to solve them.
Best of all, the book is OSS and free (unless you want to buy a paper copy, in which case O'Reilly will happily sell you one :) )
Edit (August 2013):
Many of my articles have been migrated over to the official Elasticsearch blog, as well as new articles that have not been published on my personal site.
Original post:
I've also been frustrated with learning ElasticSearch, having no Lucene/Solr experience. I've been slowly documenting things I've learned at my blog, and have four tutorials written so far:
So I don't have to keep editing, all future tutorials on my blog can be found under this category link.
And these are some links that I have bookmarked, because they have been incredibly helpful in one way or another:
我发现 Elastic Search 是我必须学习的最困难的事情之一,我之前没有使用过 Lucene,而且我发现文档很难理解。
这些是我希望在开始学习之前就知道的事情:
配置和设置
我使用 Centos、Mint 和 Ubuntu 将 ELS 配置为在 3 个 VM 上运行。Centos 是迄今为止三者中的最佳选择。
我按照本指南帮助我进行了设置(它在所有三个发行版上都运行良好)
索引和类型
一个索引可以包含多种类型,通过使用类型可以很好地分离属于同一索引内的数据。
PHP
我使用 PHP 作为前端,并使用这个包装器将我的 ELS 安装集成到我的脚本中。
其他资源
您问题的另一个答案中的演示非常好,通过它并学习 DSL 查询语法,一旦设置,这就是 ELS 真正强大的地方。
If you're new to elasticsearch and the “information retrieval” / “fulltext search” in general, my advice would be to check these resources first, before trying out tutorials on specific features: