分类: Elastic Stack

5 篇文章

全文检索 ElasticSearch整理3 PHP-ES的曾查改删
以TP5.1框架为准,ElasticSearch的依赖安装 在ElasticSearch的官网中进行composer的命令行复制即可。 这里需要注意的是,我下载的ElasticSearch版本是8.2.0版本,PHP的ElasticSearch依赖包对应的事7.11版本。如果用的不是该版本可能会出现ElasticSeearch无法正常与PHP链接。…
全文检索 ElasticSearch整理2 创建索引到模糊搜索
当ElasticSearch正常启动后,我们就可以利用Kibana图形化界面进行对ElasticSearch的简单使用 1、创建一个索引 PUT huaifeng # 创建一个索引 索引名称为huaifeng { "mappings": { # 以映射的方式创建 "properties": { # 映射的参数 "title":{ # 参数名称 "t…
ElasticSearch 常用命令
1.创建索引 PUT users { "mappings": { "properties": { "name":{ "type": "keyword" }, "age":{ "type": "integer" }, "remark":{ "type": "text" } } } } 2.添加索引结构 PUT users/_mapping { "pr…
ELK 安装
方式一:本地安装 下载 elasticsearch,logstash,kibana,ik分词器 https://www.elastic.co/cn/downloads/elasticsearchhttps://www.elastic.co/cn/downloads/logstashhttps://www.elastic.co/cn/download…