5

I'm trying to setup an instance of Sitecore 8.2 so I can see what it's going to take to upgrade my site from Sitecore 8.1 to it. I've heard that Sitecore 8.2 can run SOLR natively (without using IOC), but I can't find any documentation that tells me how to do it. All that I'm able to find are documents describing how to setup SOLR using IOC. Thanks for your help!

2 Answers 2

2

I've not tried to set this up yet myself, but I can tell you that the solr support package is no longer required. So, I'm going to guess that you can simply enable all of the solr files and disable the lucene files.

3
  • That seems to have worked for me. That actually seemed to be easier than I was expecting. Thanks! Sep 27, 2016 at 15:12
  • No sweat! Here is a link to a simple script that will flip the configs back and forth. I haven't tested with 8.2, but it should work. gist.github.com/patrickperrone/59b8745ee8b8ff9045b5 Sep 27, 2016 at 16:18
  • That power shell script worked great for my test environment. Thanks again! Sep 27, 2016 at 20:24
4

In 8.2; SOLR support comes out of the box. You can optionally add your preferred DI container, but are not required to do so.

The Sitecore Solr provider uses an IOC (Inversion of Control) container so that all the elements inside it can be swapped without re-compilation. The default Sitecore installation includes a default implementation of the Solr connector (SolrNet.dll). If you need to use another IOC, download the Solr support package for your version of Sitecore from dev.sitecore.net (in the Additional tools section).

Source: Walkthrough: Setting up Solr

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.