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