strapi-plugin-elastic:elasticsearch插件可让您轻松地将数据库与elasticsearch同步

时间:2021-05-01 15:11:51
【文件属性】:
文件名称:strapi-plugin-elastic:elasticsearch插件可让您轻松地将数据库与elasticsearch同步
文件大小:42KB
文件格式:ZIP
更新时间:2021-05-01 15:11:51
JavaScript 在trapi v3.x上测试 最新测试:v3.4.0 该插件尚未在mongodb上进行测试 开发此插件的目的是使用Strapi中的弹性搜索引擎来帮助应用程序开发过程 :memo: 目录 方案4 职能 阿皮 例子 记录中 作者 先决条件 安装Elasticsearch- https: //www.elastic.co/downloads/elasticsearch 安装插件 转到项目路径 cd PROJECT/plugins 克隆项目 git clone https://github.com/marefati110/strapi-plugin-elasticsearch.git 安装依赖项 yarn install :chequered_flag: 入门 插件如何工作? 在项目的第一次运行之后,它将在PROJECT/config/elasticsearch.js创建一个配置文件。 配置文件应如下图所示 默认
【文件预览】:
strapi-plugin-elastic-master
----.gitignore(134B)
----package.json(798B)
----admin()
--------src()
----yarn-error.log(5KB)
----services()
--------core()
--------log()
--------index.js(308B)
----LICENSE(1KB)
----README.md(11KB)
----config()
--------functions()
--------routes.json(1KB)
----middlewares()
--------elastic()
----controllers()
--------elasticsearch.js(5KB)
----.gitattributes(1KB)
----docs()
--------CONFIG.md(556B)
----.editorconfig(100B)
----yarn.lock(3KB)

网友评论