采购商城搜索引擎配置

1.1 商城搜索环境配置
前置条件(以下信息可以找运维环境人员确认):
1. 必须有elasticsearch数据库;
2. Elasticsearch数据库访问方式必须为HTTP,不能为HTTPS;
3. Elasticsearch数据库版本必须在6.8.0以上。
以下配置的IP、端口和租户列表只是举例,具体配置需要根据实际环境配置
1.1.1全文检索配置(私有云配置)
1.1.1.1 MC配置
MC管理中心>租户列表(例如:tenant_devscm_test)>数据中心>打开启用数据同步;

1.1.1.2参数配置
MC管理中心>集群管理,选择环境所属的集群
Ø 在配置项中过滤关键字fulltext,确认以下项:
fulltext.ip=实际ES的IP地址
fulltext.tcp.port=http端口
fulltext.withoptlogout =true
fulltext.maxmatchsize=1000
dts.fulltext.init.batchsize=100
fulltext.enable=true
fulltext.storagetype=highlevel
以上各项参数如果缺少就需要新增,如果存在就需要保持和上面的配置一致

Ø 在配置项中过滤关键字elasticsearch.server.pur,确认以下项:
elasticsearch.server.pur = ip={{fulltext.ip}}
port={{fulltext.tcp.port}}
index=pur
enable=true
clustername=实际ES集群的名称,默认为elasticsearch
totalfields=8000
shardsnumber=3
replicasnumber=1
username=ES数据库的用户名(如果没有用户名可不需要)
password= ES数据库的密码(如果没
采购商城搜索引擎配置
声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。



