Hello, Some update: After fighting dependencies, especially logging libraries, I discovered that not only SolrJ is using Lucene but DSpace uses it directly in its search. And naturally Lucene has change a good deal between versions. End of that road. I am now rewriting our ElasticSearch interaction using HTTP posts/gets to get rid of the ElasticSearch dependency.
Best regards, Anja On 13/08/2013 15:35, Anja Le Blanc wrote: > Hi Helix, > > We were using ES 20.6 before - that did not cause a problem. I got the > same dependency as you in Maven just with a different version. They just > have one 'catch all' jar or ES. > > At the moment I am considering upgrading Solrj to 3.5 which does not > have a dependency on Lucene. That might solve the problem without having > to upgrade Solr itself. > > Thanks a lot. > Anja > > > On 13/08/2013 14:07, helix84 wrote: >> On Tue, Aug 13, 2013 at 2:55 PM, Anja Le Blanc >> <anja.lebl...@manchester.ac.uk> wrote: >>> Your question is a very good one. I entirely agree. Unfortunately I am not >>> aware of a ElasticSearch client library. >> >> This is what we use for ES stats: >> https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/pom.xml#L421 >> >> Here's the JavaDoc and source: >> http://elasticsearch.spantree.net/ >> https://github.com/elasticsearch/elasticsearch/ >> >> >>> Before integrating ElasticSearch in our DSpace I have not worked with ES >>> before, meaning I followed the guides >>> (http://www.elasticsearch.org/guide/reference/java-api/) and looking at the >>> Maven repository (http://mvnrepository.com/artifact/org.elasticsearch) I >>> can't see a java client lib either. >> >> Does this help? >> >> http://www.elasticsearch.org/guide/reference/java-api/client/ >> http://elasticsearch.spantree.net/elasticsearch/HEAD/org/elasticsearch/client/transport/TransportClient.html >> >> >> Regards, >> ~~helix84 >> >> Compulsory reading: DSpace Mailing List Etiquette >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >> >> > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette