Sitecore:所有索引都未在索引管理器中列出

Joj*_*ojo 1 solr sitecore sitecore8

我正在使用Solr所有indexing,所以我在solr中创建了所有索引并启用了所有必需的solr相关配置,但是当我从索引管理器构建索引时,我只能看到

sitecore_core_index
sitecore_master_index
sitecore_marketing_asset_index_master
sitecore_marketingdefinitions_master
sitecore_testing_index
sitecore_suggested_test_index
sitecore_fxm_master_index
sitecore_list_index
social_messages_master
Run Code Online (Sandbox Code Playgroud)

我只建了这些.如果我尝试从网络数据库中搜索,我没有得到任何结果.

在默认的sitecore安装中,我可以在Data => Indexes中看到16个索引文件夹,其余的在哪里?如何建立那些?

或者这是预期的?

Mar*_*lak 6

检查Sitecore.ContentSearch.Solr.Index.Web.config您的App_Config/Include文件夹中是否有.它必须.example在上面的名称后面没有扩展名.该文件包含的定义sitecore_web_index.

您可以检查http://localhost/sitecore/admin/showconfig.aspx默认的sitecore安装,以查看哪些配置文件包含其他缺少的索引(patch:source每个节点都有信息).然后,您可以检查解决方案中是否包含这些文件.

  • 这是在CM服务器上禁用"web"相关solr配置的错误方法.实际上,CM服务器是唯一一个在使用solr运行sitecore时应该更新所有索引的服务器.CD服务器永远不应更新solr索引.CD服务器上的所有索引策略都应该更改为`manual`.并且CM服务器必须执行所有更新.所以答案是**永远不会禁用CM服务器上的网络相关solr配置**. (2认同)