-
Notifications
You must be signed in to change notification settings - Fork 24
Solr6.6 创建core #7
New issue
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
Comments
[root@localhost solr-6.6.0]# bin/solr start 按你的做,创建不了 |
@cy503328434 你看提示“Starting Solr as the root user is a security risk...”,你是用root用户启动的吧,如果是root用户需要在后面加上 -force 参数。还是建议你使用普通用户,避免出现类似问题。(如果提示普通用户没有权限,需要使用chmod或chown命令加上权限) |
这个创建的core到底有什么用呀,我看其他的教程里面,好像没有创建它。 |
额,solr的索引数据和一些配置都在一个core里,所以使用solr至少需要有一个core。其他教程大部分是拷贝一个solr提供的core的例子改下名字,我这是创建一个新的。 |
6.6的solr怎么配置中文分词啊 |
配置managed-schema:
可以搜一下这个 mmseg4j |
mmseg4j的jar包 1.9.1里面的3个jar包都需要导入到lib下吗? |
|
嗯嗯 谢谢了 |
Uh oh!
There was an error while loading. Please reload this page.
首先在solr-6.6.0目录运行命令,启动solr:
Linux: $ bin/solr start
Windows: bin\solr.cmd start
创建core:
Linux: $ bin/solr create -c mycore1
Windows: bin\solr.cmd create -c mycore1
solr-6.6.0\server\solr目录下生成的mycore1就是创建好的core
The text was updated successfully, but these errors were encountered: