- 博客(14)
- 资源 (2)
- 收藏
- 关注
原创 Python入门从这里开始
1、变量在Python中使用变量时,需要遵守一些规则和指南。违反这些规则将引发错误,而指南旨在让你编写的代码更容易阅读和理解。请务必牢记下述有关变量的规则。变量名只能包含字母、数字和下划线。变量名可以字母或下划线打头,但不能以数字打头,例如,可将变量命名为message_1,但不能将其命名为1_message。 变量名不能包含空格,但可使用下划线来分隔其中的单词。例如,变量名greeti...
2019-11-19 13:22:22 237
原创 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 740
原创 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 326
原创 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 1814
原创 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 1339 2
原创 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 170
原创 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 350
原创 Elasticsearch6.4专题之3:快速入门之CRUD
cluster:集群名字status:集群状态green:所有都是正常的,集群功能完好yellow:所有的数据是可用的,但是有些副本没有节点分配,集群功能完好red:一些数据由于某种原因不可用,集群部分功能可用,集群还可以继续通过可用的分片提供搜索服务,因为有未分配的分片,所以需要尽快修复node.total:节点总个数node.data:数据节点个数(es集群中的节点也有不同角色,不同的分工,后面的章节介绍)shards:总分片数pri:主分片数repo:副本分片数列出所有的节
2019-11-10 23:10:57 586
原创 Elasticsearch6.4专题之2:Installing Elasticsearch
下载解压并启动启动遇到的异常在linux 系统中启动es不能以root 用户启动。这里需要注意用户权限,包括数据目录权限,否则可能会遇到权限相关的异常问题。异常解决方案启用自动创建X-PACK索引X-Pack会自动创建默认的索引,如果关闭自动创建索引,需要配置如下参数,允许X-Pack自动创建相关索引...
2019-11-10 23:09:37 350
原创 Elasticsearch6.8专题之1:Getting Started
Getting Started文章目录Getting StartedBasic ConceptsNear Realtime (NRT)ClusterNodeIndexType(Deprecated)DocumentShards & ReplicasExploring Your ClusterCluster HealthList All NodesList All IndexsCreate...
2019-11-10 23:08:27 192
原创 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 3815
原创 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 604
原创 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 356
原创 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 316
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人