Solr Sitecore 8.2:索引管理器中未列出所有索引

Solr Sitecore 8.2:索引管理器中未列出所有索引,solr,lucene,sitecore8.2,Solr,Lucene,Sitecore8.2,我正在使用Sitecore 8.2更新5 现在使用以下步骤从Lucene Solr切换: 在我尝试构建索引时做了所有更改之后,索引管理器是空的,如图所示 下面是使用…/sitecore/admin/showconfig.aspx的my all配置 链接:在您的配置中有一个索引,一个Lucene索引,一个名为MyWebsite\u assets的自定义索引 <contentSearch> <configuration type="Sitecore.ContentSea

我正在使用Sitecore 8.2更新5

现在使用以下步骤从Lucene Solr切换:

在我尝试构建索引时做了所有更改之后,索引管理器是空的,如图所示

下面是使用…/sitecore/admin/showconfig.aspx的my all配置


链接:

在您的配置中有一个索引,一个Lucene索引,一个名为MyWebsite\u 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">
在您的配置中,我当前只看到“Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config”


此外,在doc.sitecore上还有一个特定于sitecore 8.2的演练,请参见

如果您可以查看其配置,则所有索引都可以在sitecore索引管理器中看到。在ShowConfig.aspx中,只需确保您能够看到所有必需的配置。如果没有,请尝试正确配置。我希望这有帮助

我在调试时遇到以下异常

Solr Indexes Microsoft.Practices.ServiceLocation.ActivationException:尝试获取类型为Isolroperties`1,键为“sitecore\u analytics\u index”-->Ninject.ActivationException:激活Isolroperties时出错{Dictionary{string,Object}没有匹配的绑定可用,并且该类型是不可自绑定的。激活路径:1)请求ISolrOperations{Dictionary{string,Object}}建议:1)确保已定义ISolrOperations{Dictionary{string,Object}的绑定。2) 如果绑定是在模块中定义的,请确保模块已加载到内核中。3) 确保没有意外创建多个内核。4) 如果使用构造函数参数,请确保参数名称与构造函数参数名称匹配。5) 如果使用自动模块加载,请确保搜索路径和筛选器正确。c:\Projects\Ninject\Ninject\src\Ninject\KernelBase.cs中的Ninject.KernelBase.Resolve(IRequest请求):Ninject.ResolutionExtensions.Get的第376行(IResolutionRoot根目录,类型服务,字符串名称,IPParameter[]参数)在c:\Projects\Ninject\Ninject\src\Ninject\Syntax\ResolutionExtensions.cs中:在c:\test\u Git\Sitecore\src\test\Infrastructure\NinjectServiceLocator.cs中的MyLibrary.test.Infrastructure.NinjectServiceLocator.DoGetInstance中的第164行(在c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs中键入serviceType,字符串键):第49行--内部异常堆栈跟踪的结尾--位于Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(键入serviceType,字符串键)在c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs中:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService]的第53行(字符串键)在c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\serviceLocationImplbase.cs中:第103行在ASP在c:\test\u Git\Sitecore\build\25sep12019\Website\Sitecore\admin\solr diagnostic.cshtml中:第29行


你好,Jan Bluemink,谢谢你的回复。Lucene索引“MyWeb\u资产”是已注释的代码,现在我删除了已注释但仍然是同一个问题。我遵循了链接:但仍然是同一个问题。您是否有Sitecore.ContentSearch.Solr.Index.Core.config和其他文件,没有.example扩展名?并且这些文件包含ContentSearch索引配置?当您在all配置中搜索时,您需要o在Sitecore.ContentSearch.Solr.Index.Core.config文件存在的情况下进行配置。我正在共享Include文件夹和log文件夹。任何建议都会非常有用。尽管如此,我仍然能够在Showconfig.aspx中看到与索引相关的配置:但索引未列在索引管理器中。共享该配置文件的存储库中,我确信您必须可以在Index Manager站点core\u analytics\u Index sitecore\u core\u Index sitecore\u web\u Index sitecore\u marketing\u asset\u Index\u master sitecore\u marketing\u Index\u web sitecore\u marketing定义\u master sitecore\u marketing定义\u web sitecore\u测试\u Index sitecore\u建议测试\u Index sitecore\u fxmr_index sitecore_fxm_web_index sitecore_list_index social_messages_master social_messages_web那么你能告诉我你指的是哪个索引吗?注意:你能在index Manager中看到的名称是因为$(id),而选择的核心是因为&(id)这个id设置在上面,例如感谢回复,我可以在showconfir.aspx中看到所有15个索引名,但在索引管理器上看不到。好的,因为我们看不到任何索引,让我们创建一个新索引,创建文件,将其命名为“YourProjectName.ContentSearch.Solr.index.Master.config”,在wwwroot/。/AppConfig/Inculde/的某个地方,我正在附加一个文件,复制它并进行必要的更改。在重置IIS(必须)和Solr(实际上不需要)之后,您应该能够在IndexManager中看到它。很抱歉回复晚,我正在吃午饭;)此链接是临时的。
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