Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
<img src="//i.stack.imgur.com/RUiNP.png" height="16" width="18" alt="" class="sponsor tag img">elasticsearch 弹性搜索数据表示_<img Src="//i.stack.imgur.com/RUiNP.png" Height="16" Width="18" Alt="" Class="sponsor Tag Img">elasticsearch_Lucene_Kibana - Fatal编程技术网 elasticsearch 弹性搜索数据表示,elasticsearch,lucene,kibana,elasticsearch,Lucene,Kibana" /> elasticsearch 弹性搜索数据表示,elasticsearch,lucene,kibana,elasticsearch,Lucene,Kibana" />

elasticsearch 弹性搜索数据表示

elasticsearch 弹性搜索数据表示,elasticsearch,lucene,kibana,elasticsearch,Lucene,Kibana,我是elasticsearch的新手,我想我会通过以下步骤开始。 但我在这里偶然发现了一些非常基本的疑问。我无法理解这里的数据表示形式。例如,本教程提到创建索引 curl -XPUT http://localhost:9200/shakespeare -d ' { "mappings" : { "_default_" : { "properties" : { "speaker" : {"type": "string", "index" : "not_analyzed" },

我是elasticsearch的新手,我想我会通过以下步骤开始。 但我在这里偶然发现了一些非常基本的疑问。我无法理解这里的数据表示形式。例如,本教程提到创建索引

curl -XPUT http://localhost:9200/shakespeare -d '
{
 "mappings" : {
  "_default_" : {
   "properties" : {
    "speaker" : {"type": "string", "index" : "not_analyzed" },
    "play_name" : {"type": "string", "index" : "not_analyzed" },
    "line_id" : { "type" : "integer" },
    "speech_number" : { "type" : "integer" }
   }
  }
 }
}
';
我知道这是一个JSON字符串,但除此之外,我无法理解这种表示形式?我没有得到什么是默认的,什么是未分析的意思,等等

在继续elasticsearch之前,是否有任何标准需要了解数据的表示方式? 我对elasticsearch完全陌生,如果能得到一些信息/教程的指导,帮助我了解如何开始学习这项技术,我将不胜感激

谢谢和问候
Sunil

我认为本课程的主要目的是快速演示Kibana,而不是全面了解elasticsearch(映射、索引等)

但是,如果您想了解该示例中发生了什么,您可能想知道如何浏览文档

例如:

默认映射:

Often, all types in an index share similar fields and settings. 
It can be more convenient to specify these common settings in 
the _default_ mapping, instead of having to repeat yourself every 
time you create a new type. The _default_ mapping acts as a 
template for new types. All types created after the _default_ 
mapping will include all of these default settings, unless 
explicitly overridden in the type mapping itself.

有关默认映射的更多详细信息,请参阅。

10分钟步行穿越适用于Kibana,运行在Elasticsearch之上,而IMHO不是了解ES的好地方

就我个人而言,在过去几年中,我做了以下介绍:


总的来说,ES文档相当完整,看起来很棒,但对于新手来说,很难找到您需要的东西。

:-)请阅读文档。ES网站()上有一本非常好的书。它很长,但读完后,你会更好地理解Elasticsearch是什么,它能为你做些什么。如果你打算认真使用Elasticsearch,请阅读本书!非常感谢。我应该从这本书开始