You mean I can use SolrJ 7.x for both indexing documents to both Solr 4 and Solr 7 as well as the SolrInputDocument class from Solrj 7.x
Wouldn’t there be issues if there are any backwards incompatible changes. On Wed, Jan 23, 2019 at 8:09 PM Shawn Heisey <apa...@elyograg.org> wrote: > On 1/23/2019 5:49 PM, Pushkar Raste wrote: > > Thanks for the quick response Shawn. It is migrating ion from Solr 4.10 > > master/slave to Solr Cloud 7.x > > In that case, use SolrJ 7.x, with CloudSolrClient to talk to the new > version and HttpSolrClient to talk to the old version. Use the same > SolrInputDocument objects for both. > > Thanks, > Shawn > >