elasticsearch6.4
文章平均质量分 87
风吹千里
潜心一技、做到极致。
展开
-
Elasticsearch6.4专题之1:基础概念
是一个近乎实时的搜索平台。这意味着从您为文档编制索引到它变得可搜索之间存在轻微的延迟(通常为一秒)。一个集群中可以有一个或者多个节点。集群通过唯一集群名标识,默认是elasticsearch.只有相同集群名的节点才能组成一个集群,不同名称表示不同的集群。es集群是可以只有一个节点。节点是集群的一部分...原创 2022-06-14 00:19:56 · 167 阅读 · 0 评论 -
Elasticsearch6.4专题之2:Installing Elasticsearch
下载解压并启动启动遇到的异常在linux 系统中启动es不能以root 用户启动。这里需要注意用户权限,包括数据目录权限,否则可能会遇到权限相关的异常问题。异常解决方案启用自动创建X-PACK索引X-Pack会自动创建默认的索引,如果关闭自动创建索引,需要配置如下参数,允许X-Pack自动创建相关索引...原创 2019-11-10 23:09:37 · 358 阅读 · 0 评论 -
Elasticsearch6.4专题之3:快速入门之CRUD
cluster:集群名字status:集群状态green:所有都是正常的,集群功能完好yellow:所有的数据是可用的,但是有些副本没有节点分配,集群功能完好red:一些数据由于某种原因不可用,集群部分功能可用,集群还可以继续通过可用的分片提供搜索服务,因为有未分配的分片,所以需要尽快修复node.total:节点总个数node.data:数据节点个数(es集群中的节点也有不同角色,不同的分工,后面的章节介绍)shards:总分片数pri:主分片数repo:副本分片数列出所有的节原创 2019-11-10 23:10:57 · 597 阅读 · 0 评论 -
Elasticsearch6.4专题之4:Bootstrap Checks
Bootstrap Checks文章目录Bootstrap ChecksDevelopment vs. production modeSingle-node discoveryForcing the bootstrap checksHeap size checkFile descriptor checkMemory lock checkMaximum number of threads chec...原创 2019-11-10 23:12:19 · 358 阅读 · 0 评论 -
Elasticsearch6.4专题之5:Adding nodes to your cluster
Adding nodes to your cluster文章目录Adding nodes to your clusterWhen you start an instance of Elasticsearch, you are starting a node. An Elasticsearch cluster is a group of nodes that have the same clus...原创 2019-11-10 23:13:08 · 180 阅读 · 0 评论 -
Elasticsearch6.4专题之6:Set-up X-Pack
X-Pack文章目录X-PackInstalling X-PackSet up X-PackConfiguring monitoringConfiguring monitoring in ElasticsearchConfiguring Indices for MonitoringConfiguring a Tribe Node to Work with MonitoringMonitoring...原创 2019-11-10 23:13:55 · 1410 阅读 · 2 评论 -
Elasticsearch6.4专题之7:升级ES
Upgrade Elasticsearch文章目录Upgrade ElasticsearchRolling upgradesFull cluster restart upgradeReindex before upgradingReindex in placeReindex from a remote clusterWhen upgrading to a new version of Elas...原创 2019-11-13 10:06:43 · 1829 阅读 · 0 评论 -
Elasticsearch6.4专题之8:API Conventions(API 约定)
API Conventions(API 约定)文章目录API Conventions(API 约定)Multiple IndicesDate math support in index namesCommon optionsPretty ResultsHuman readable outputDate MathResponse FilteringFlat SettingsParametersBo...原创 2019-11-13 10:07:20 · 342 阅读 · 0 评论 -
Elasticsearch6.4专题之9:Document APIs
Document APIs文章目录Document APIsReading and Writing documentsBasic write modelFailure handlingBasic read modelFailure handlingA few simple implicationsEfficient readsRead unacknowledgedTwo copies by de...原创 2019-11-13 10:09:15 · 749 阅读 · 0 评论 -
Elasticsearch6.4专题之16:Ingest Node
Ingest Node文章目录Ingest NodePipeline Definition(管道定义)Ingest APIsPut Pipeline API(添加或更新pipeline)Get Pipeline API(获取Pipeline)Pipeline VersioningDelete Pipeline API(删除Pipeline)Simulate Pipeline API(模拟Pipe...原创 2019-11-10 23:07:26 · 3850 阅读 · 0 评论 -
Elasticsearch6.4专题之17:SQL Access
SQL Access文章目录SQL Access概述简介为什么选择Elasticsearch SQL本机集成没有外部零件轻巧高效入门Conventions and Terminology(约定和术语)Mapping concepts across SQL and Elasticsearch(SQL和ES的概念映射)SecuritySQL REST APISQL Translate APISQL ...原创 2019-11-10 23:04:37 · 640 阅读 · 0 评论 -
Elasticsearch6.4专题之24:How To(建议)
refer to 参考网址How To文章目录How ToGeneral recommendations(一般性建议)Don’t return large result sets(不要返回大结果集)Avoid large documents(避免大文档)Recipes(秘诀)Mixing exact search with stemming(混合精确搜索与词干分析)Getting consis...原创 2019-11-10 23:02:38 · 367 阅读 · 0 评论 -
Elasticsearch6.4专题之25:Glossary of terms(术语表)
Glossary of terms(术语表)文章目录Glossary of terms(术语表)analysistexttermdocumentidfieldsource fieldindexmappingfilterquerynodeshardprimary shardreplica shardroutingclustercross-cluster search (CCS)typeanaly...原创 2019-11-10 23:01:04 · 328 阅读 · 0 评论 -
Elasticsearch6.4专题之杂记:常用命令
1、list all indexcurl -X GET "localhost:9200/_cat/indices?v"2、get MappingGET /twitter/_mapping/tweet3、delete indexcurl -XDELETE "http://127.0.0.1:9200/indexName"4、getTaskInfocurl -XGET "http:...原创 2019-12-13 15:12:01 · 855 阅读 · 0 评论 -
Elasticsearch6.4专题之杂记:遇到的异常与解决方案
这个是我实际项目实践过程中遇到过的问题与解决方案;同样的问题,不同的场景可能解决方案不一样,所以,博友们不要硬套,自己验证过后,适合自己的问题再采用。1、elasticsearch磁盘满导致read-only,新数据不可入库执行curl -XPUT -H "Content-Type: application/json" http://127.0.0.1:9200/_all/_settings...原创 2019-12-14 15:35:20 · 2210 阅读 · 0 评论 -
Elasticsearch6.4专题之杂记:遇到的异常与解决方案2
11、lucene.util.BytesRefHash$MaxBytesLengthExceededException: bytes can be at most 32766 in length; got 56965解决方案设置keyword字段的ignore_above为3276512、[ERROR][o.e.a.b.TransportBulkAction] [node-1] failed to execute pipeline for a bulk requestorg.elasticsearch原创 2020-07-27 10:36:19 · 6622 阅读 · 2 评论