Peter,
In the work I have done for the project SolrMarc, which various sites use to
index Marc records into Solr. It ships as a binary version that includes a
slightly modified version of solrj 3.5, which it uses to communicate with
whatever version of solr that site uses. It can operate with solr 1.4,
solr 3.x, and at least solr 4.0 and solr 4.1 (and in all likelihood solr
4.2 as well). I will check tomorrow to find what specific changes were
needed for it to work with solr 4.x.
-Bob
On Mon, 13 May 2013 02:11:02 +0000
"Lee, Peter" <peter....@proquest.com> wrote:
Shawn,
Thanks for the feedback. I did read carefully through your thread before I
posted as it looked close...but as you say..."backwards"...to what we are
trying to do.
Fortunately for us, "commit" doesn't enter the picture. Our index at
runtime is effectively "read only," and the indexing and committing are
done by programs that don't need to use the older solrj (3.5) version. It
is our runtime application that we need to see if we can get to run on
solrj 3.5 for a short time longer.
I *do* think our 3.5 client is using javabin, so I will look at your
suggested work around. All had been going well but we just hit a bump in
the road and we are investigating now. Your information may turn out to be
invaluable. Either way it is greatly appreciated.
Thanks again for your help.
Peter Lee
-----Original Message-----
From: Shawn Heisey [mailto:s...@elyograg.org]
Sent: Sunday, May 12, 2013 1:22 AM
To: solr-user@lucene.apache.org
Subject: Re: Looking to see if solrj 3.5 could be used with solr server
4.2.1
On 5/11/2013 9:36 PM, Lee, Peter wrote:
I've reviewed all of the release notes and we've been doing testing to see
if solrj that came with solr 3.5 would work with solr server 4.2.1. We are
not using any of the new features of 4.2.1...we upgraded purely for the
improved performance and much smaller memory footprint of the indexes.
While I have not identified anything in the release notes that looks like a
deal breaker, I also realize that the powers that be may be thinking that
this is such a no brainer question (why would ANYONE want to use solrj 3.5
with solr 4.2.1) that it simply was assumed obvious and did not need
stating.
Initial note: There might be a showstopper with commit. I'm building a
test program now to see. Assuming that is all clear, then the following
will apply:
We've just been having a discussion about this very thing, though in the
other direction - SolrJ 4.2.1 and Solr 3.x. From the research and
experimentation I've done both in the past and for the recent discussion,
as long as you don't try to set the request writer to Binary, it should
work with a fairly vanilla Solr 4.x config.
If you define the /update/javabin handler in your Solr 4.x config, it
should work even if you are using the binary request writer.
<requestHandler name="/update/javabin"
class="solr.BinaryUpdateRequestHandler" />
Most potential problems are likely to be things that you can work out by
adjusting the server config.
Thanks,
Shawn