编译LocalSolr的问题
我正在尝试按照此处的说明安装 LocalSolr:
http://www.gissearch.com/node/16< /a>
不幸的是事情进展不顺利。
文件中写道:
要将它们安装到 solr 中,只需将以下 jar 复制到 solr 的 lib 目录中。 位于 apache-solr-1.*/example/solr/lib
我注意到 example/solr 下没有名为“lib”的文件夹,所以我自己构建了它并将所有提到的文件复制到其中。
我进入下一步,按照此处的说明更改 solrconfig.xml 和 schema.xml: http://www .gissearch.com/localsolr
并重新启动我的 ApacheSolr,但出现以下错误:
org.apache.solr.common.SolrException:加载类“com.pjaol.search.solr.component.LocalSolrQueryComponent”时出错
我不知道如何解决此问题,因此我将不胜感激。
I am trying to install LocalSolr following the instruction here:
http://www.gissearch.com/node/16
Unfortunately things are not working well.
In the document, it says:
To install these into solr simply copy the following jars to solr's lib directory.
located in apache-solr-1.*/example/solr/lib
I have noticed that I don't have a folder called "lib" under example/solr, so I built it myself and copied all the mentioned files to it.
And I went to the next step which was altering solrconfig.xml and schema.xml as instructed in here: http://www.gissearch.com/localsolr
and restarted my ApacheSolr, but got the following error:
org.apache.solr.common.SolrException: Error loading class 'com.pjaol.search.solr.component.LocalSolrQueryComponent'
I can't figure out how to fix this problem so I would appreciate the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Solr 从版本 3 开始包含官方空间搜索功能。根据我运行 Websolr 的经验,我建议您升级到 Solr 3.3而不是与 LocalSolr 较量。
Solr includes official spatial search functionality as of version 3. Based on my experience running Websolr, I recommend you upgrade to Solr 3.3 rather than wrestle with LocalSolr.