且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ElasticSearch入门指南

更新时间:2023-11-15 12:52:40

编辑(2015年4月):

许多人已经注意到,我的旧博客现已失效。我的大部分文章都转移到了Elastic博客上,可以通过过滤我的名字来找到: https://www.elastic.co/blog/author/zachary-tong

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

老实说,现在***的初学者知识来源是我和克林顿·戈姆利(Clinton Gormley)撰写的 Elasticsearch-权威指南

To be perfectly honest, the best source of beginner knowledge is now Elasticsearch - The Definitive Guide written by myself and Clinton Gormley.

它假定搜索引擎知识为零,并在Elasticsearch的上下文中解释信息检索的第一原则。虽然参考文档都是关于找到所需的精确参数,但是《指南》是一种叙述性文章,讨论了搜索中的问题以及如何解决它们。

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.

最重要的是,本书是OSS且免费的(除非您想购买纸质副本,否则O'Reilly会很乐意向您出售一份:)))

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 :) )

编辑(八月2013):

我的许多文章已迁移到官方Elasticsearch博客,以及尚未在我的个人网站上发布的新文章。

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.

原始帖子:

我对学习ElasticSearch也很沮丧,因为没有Lucene / Solr经验。我一直在缓慢地记录自己在博客中学到的东西,到目前为止已编写了四篇教程:

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:

  • Thinking through and debugging problems with your query
  • Another example of complicated mapping (ngram, synonyms, phonemes)
  • Searching parts of a word
  • Fun with ElasticSearch's children and nested documents