engineercms icon indicating copy to clipboard operation
engineercms copied to clipboard

全文检索

Open 3xxx opened this issue 2 years ago • 0 comments

1.You can pull down the version you would like using: docker pull apache/tika: Then to run the container, execute the following command: docker run -d -p 9998:9998 apache/tika: 2.拉取和运行es docker pull elasticsearch:7.14.2 启动 docker run -it -e "discovery.type=single-node" --name="es714" -p 9200:9200 -p 9300:9300 elasticsearch 或 docker run -p 9200:9200 -p 9300:9300 --name es714 -e "discovery.type=single-node" -e "TAKE_FILE_OWNERSHIP=true" -v /es/logs:/usr/share/elasticsearch/logs -v /es/data:/usr/share/elasticsearch/data -d 2ab 3.修改配置 http.cors.enabled: true http.cors.allow-origin: "*" 4.ik中文分词插件安装到es的plugins 效果: Snap246

3xxx avatar Oct 29 '21 17:10 3xxx