We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用的lucene8.0,没有使用solr。谢谢。
The text was updated successfully, but these errors were encountered:
如果没有使用solr,那么ik.conf以及dynamicdic.txt是无效的。 因为动态加载字典是通过读取solr的scheme配置文件中配置的分词找到ik.conf配置文件,再从ik.conf中读取到dynamicdic.txt字典文件。 如果需要添加自定义字典,将IKAnalyzer.cfg.xml, ext.dic, stopword.dic三个配置文件放在springboot项目中的resources目录下,扩展词配置在ext.dic中,停词配置在stopword.dic中即可。
ik.conf
dynamicdic.txt
scheme
IKAnalyzer.cfg.xml
ext.dic
stopword.dic
Sorry, something went wrong.
用的lucene8.0,没有使用solr。谢谢。 如果没有使用solr,那么ik.conf以及dynamicdic.txt是无效的。 因为动态加载字典是通过读取solr的scheme配置文件中配置的分词找到ik.conf配置文件,再从ik.conf中读取到dynamicdic.txt字典文件。 如果需要添加自定义字典,将IKAnalyzer.cfg.xml, ext.dic, stopword.dic三个配置文件放在springboot项目中的resources目录下,扩展词配置在ext.dic中,停词配置在stopword.dic中即可。
谢谢。昨天试了一下发现用ext.dic扩展词典好用,已经在用了。
No branches or pull requests
用的lucene8.0,没有使用solr。谢谢。
The text was updated successfully, but these errors were encountered: