Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Solr入门,无gettingstarted文件夹_Solr - Fatal编程技术网

Solr入门,无gettingstarted文件夹

Solr入门,无gettingstarted文件夹,solr,Solr,我刚刚安装了Solr(将使用Solarium进行控制,并用于搜索Nutch查询)。我正在完成以下介绍的入门教程: 当我尝试运行$bin/post-c gettingstarted example/exampledocs/*.json时,我不得不执行一系列错误 /solr/中没有gettingstarted文件夹。这正常吗?我应该创建一个吗?回答 尝试上载其他json文件: 或带有curl的索引: cd example/exampledocs curl http://localhost:898

我刚刚安装了Solr(将使用Solarium进行控制,并用于搜索Nutch查询)。我正在完成以下介绍的入门教程:

当我尝试运行$bin/post-c gettingstarted example/exampledocs/*.json时,我不得不执行一系列错误 /solr/中没有gettingstarted文件夹。这正常吗?我应该创建一个吗?

回答

尝试上载其他json文件:

或带有curl的索引:

cd example/exampledocs

curl http://localhost:8983/solr/update/csv --data-binary @books.csv -H 'Content-type:text/plain; charset=utf-8'

哦,你可能会发现这很有用