0

在 Sitecore 7 中的亮湾媒体框架上单击导入时,没有任何内容被导入,而是我在 sitecore 日志中看到以下问题。关于如何解决这个问题的任何想法?

ManagedPoolThread #8 09:17:35 错误 MediaFramework *同步失败。异常:System.ArgumentException 消息:未找到索引 mediaframework_brightcove_index 来源:Sitecore.ContentSearch 在 Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name) 在 Sitecore.Integration.Common.Utils.ContentSearchUtil.FindOne[T](String indexName, Expression` 1 个过滤器)在 Sitecore.MediaFramework.Brightcove.Synchronize.VideoSynchronizer.GetSearchResult(Object entity, Item accountItem) 在 Sitecore.MediaFramework.Synchronize.SynchronizerBase.SyncItem(Object entity, Item accountItem) 在 Sitecore.MediaFramework.Brightcove.Synchronize.VideoSynchronizer。 Sitecore.MediaFramework.Pipelines.MediaSyncImport.MediaSyncItemImport.SyncItem.Process(MediaSyncItemImportArgs args) 处的 SyncItem(Object entity, Item accountItem)

ManagedPoolThread #4 09:17:35 INFO 作业结束:导入 MediaFramework 内容(处理的单位:)

如果我缺少任何设置,请告诉我。

重要提示:我们使用的是 Solr 而不是 lucene 搜索,因此相应地修改了“Sitecore.ContentSearch.MediaFramework.Brightcove.config”以包含 solr 搜索配置。

4

1 回答 1

0

不幸的是,您没有为 Solr 保留来自 Brightcove 文件的配置。但我想,至少,它应该是这样的:

    <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
    <sitecore>
        <contentSearch>
            <configuration type="Sitecore.ContentSearch.SolrProvider.SolrSearchConfiguration, Sitecore.ContentSearch.SolrProvider">
                <indexes hint="list:AddIndex">
                    <!-- mediaframework_brightcove_index -->
                    <index id="mediaframework_brightcove_index" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider">
                        <param desc="name">$(id)</param>
                        <param desc="core">itembuckets</param>
                        <param desc="propertyStore" ref="contentSearch/databasePropertyStore" param1="$(id)" />
                        <strategies hint="list:AddStrategy">
                            <strategy ref="contentSearch/indexUpdateStrategies/sync" />
                        </strategies>
                        <locations hint="list:AddCrawler">
                            <crawler type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch">
                                <Database>master</Database>
                                <Root>{7150B2B1-EB68-40EE-991F-2AFEDB532C46}</Root>
                            </crawler>
                        </locations>
                        <!-- configuration -->
                    </index>
                </indexes>
            </configuration>
        </contentSearch>
    </sitecore>
</configuratin>
于 2014-01-09T13:10:49.440 回答