最新回答 / lerry_lca
# 到ik/config/目錄下,新建custom_word.dic(名字任意取),里面寫自定義的詞,一行一個詞# 修改ik配置vim IKAnalyzer.cfg.xml<properties>? ? ? ? <comment>IK Analyzer 擴展配置</comment>? ? ? ? <!--用戶可以在這里配置自己的擴展字典 -->? ? ? ? <entry key="ext_dict">custom_word.dic</en...
2020-03-24
最贊回答 / 慕粉3960250
看報錯應該是你僅僅只是解壓了zip包中的jar包到對應到plugins的ik文件夾下 但是對應的比如plugin-descriptor.properties文件壓根就找不到老師視頻中舉的例子是按照ik作者的optional 1去講的你可以嘗試按照...
2020-03-21
最贊回答 / 慕粉3960250
首先你看一下你的CorsFilter的類是不是導的
org.springframework.web.filter.CorsFilter這個下面的其次再看一下你的
public?class?CorsConfig類上面有沒有
@Configuration注解 因為沒有這個注解 這個類就不會被spring容器掃描到 繼而你的
CorsFilter在初始化的時候就會找不到但愿能有所幫助^_^
2020-02-25
最新回答 / renault
先提取錯誤日志呀。如果是[warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. [security_exception] missing authentication token for REST request [/_xpack]那就是安裝了x-pack,并設置了密碼#elasticsearch...
2020-01-13
最新回答 / 慕粉3960250
我的插件是可以正常運行的 答案我在第一個提問中post了 簡單來說就是可以嘗試用ik作者提供的optional 2跑一條命令去安裝這個樣子
./bin/elasticsearch-plugin?install?https://github.com/medcl/elasticsearch-anal...
2020-01-10