0
votes

I am using Sitecore 8.2 update 5.

Now switching from Lucene Solr using the steps mentioned in: https://sitecorerockz.wordpress.com/2018/08/01/lucene-to-solr/

After doing all the changes when i tried to build the index the Index manager is empty as shown in this image Indixing manager

Below is the my all configuration using the .../sitecore/admin/showconfig.aspx

Link: https://gist.github.com/FirozNaimAnsari/45dce0167aa608b9e14a6815270709a9

3

3 Answers

0
votes

In your config there is 1 index, a Lucene index, a custom one named mymywebsite_assets

<contentSearch>
      <configuration type="Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch">
        <indexes hint="list:AddIndex">
          <index id="mymywebsite_assets" type="Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider">

Check if the following step is done correctly: Navigate to the website Include folder: wwwroot\{sitename}\App_Config\Include\ Enable the Sitecore.ContentSearch.Solr.*.config files by removing .example from the file name.

Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config.example

Sitecore.ContentSearch.Solr.Index.Analytics.config.example

Sitecore.ContentSearch.Solr.Index.Core.config.example

Sitecore.ContentSearch.Solr.Index.Master.config.example

Sitecore.ContentSearch.Solr.Index.Web.config.example

In your config I see currently only the "Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config"

Also on the doc.sitecore there is an walktrough specific to Sitecore 8.2 see https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/walkthrough--setting-up-solr.html

0
votes

All Indexes are visible in Sitecore Index Manager if you can see their configs. in ShowConfig.aspx, Just make sure that you are able to see all the required configs. If not then try Configuring it properly. I hope this Help.

0
votes

I am getting the below exception while debugging

Solr Indexes Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type ISolrOperations`1, key "sitecore_analytics_index" ---> Ninject.ActivationException: Error activating ISolrOperations{Dictionary{string, Object}} No matching bindings are available, and the type is not self-bindable. Activation path: 1) Request for ISolrOperations{Dictionary{string, Object}} Suggestions: 1) Ensure that you have defined a binding for ISolrOperations{Dictionary{string, Object}}. 2) If the binding was defined in a module, ensure that the module has been loaded into the kernel. 3) Ensure you have not accidentally created more than one kernel. 4) If you are using constructor arguments, ensure that the parameter name matches the constructors parameter name. 5) If you are using automatic module loading, ensure the search path and filters are correct. at Ninject.KernelBase.Resolve(IRequest request) in c:\Projects\Ninject\ninject\src\Ninject\KernelBase.cs:line 376 at Ninject.ResolutionExtensions.Get(IResolutionRoot root, Type service, String name, IParameter[] parameters) in c:\Projects\Ninject\ninject\src\Ninject\Syntax\ResolutionExtensions.cs:line 164 at MyLibrary.test.Infrastructure.NinjectServiceLocator.DoGetInstance(Type serviceType, String key) in C:\test_Git\Sitecore\src\test\Infrastructure\NinjectServiceLocator.cs:line 15 at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) in c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 49 --- End of inner exception stack trace --- at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) in c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 53 at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService](String key) in c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 103 at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize() at ASP._Page_sitecore_admin_solr_diagnostic_cshtml.Execute() in c:\test_Git\Sitecore\build\25Sep2019\Website\sitecore\admin\solr-diagnostic.cshtml:line 29