English 中文(简体)
需要哪些罐子才能使用同步更新服务机?
原标题:Which jars are needed to use ConcurrentUpdateSolrServer?

目前正在使用

solrServer = new CommonsHttpSolrServer(serverUrl);

和这些罐头。

apache-solr-core-3.6.0
apache-solr-solrj-3.6.0
commons-codec-1.6
commons-httpclient-3.1
commons-io-2.1
jcl-over-slf4j-1.6.1
slf4j-api-1.6.1
slf4j-jdk14-1.6.1
lucene-core-3.5.0

However apache solr deprecated CommonHttpSolrServer and suggested ConcurrentUpdateSolrServer
Replacing CommonHttpSolrServer by ConcurrentUpdateSolrServer gives runtime exception ..


线索“main” java.lang. NoClassDefffoundError: org/pache/http/Http 请求拦截
的例外

which needs the jar httpcore-4.0-alpha6.jar
Exception also indicate three more exceptions.
Anybody having list of which extra jars like httpcore-4.0-alpha6.jar are needed to replace CommonHttpSolrServer by ConcurrentUpdateSolrServer

最佳回答

Take a look at https://issues.apache.org/jira/browse/SOLR-3374 You need to include httpcore, httpmime and httpclient jars.

还有,我注意到你正在使用Solr 3.6罐和Lucene 3.5罐—— 保持Solr和Luceen罐的版本同步一般是一个好主意。

问题回答

暂无回答




相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签