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




Reply via email to