小编ace*_*ita的帖子

从 Visual Studio 2015 构建时自动发布 Web 应用程序

有没有办法在成功构建时使用预先创建的发布配置文件自动发布 Web 应用程序?我不想单击发布图标,需要在 Visual Studio 2015 上成功构建 Web 项目时发生这种情况 - 不使用宏。

任何样品将不胜感激!

.net publish visual-studio-2015

8
推荐指数
3
解决办法
6818
查看次数

使用 SOLR 对短语进行 Sitecore 分面

有没有人有使用 SOLR 时的 sitecore 索引配置示例,用于关键字标记器?我正在尝试对具有多字串的字段进行分面,但当前返回的分面正在拆分字段中的单词并返回分面。

例如。我有一个带有州字段的项目,我正在尝试在州字段上进行分面 - 它具有像新罕布什尔州、南达科他州这样的值。但在结果中,我得到了

Name = New、Aggregate = xx
Name = Hampshire、Aggregate = xx
Name = South、Aggregate = xx
Name = Dakota、Aggregate = xx 的方面值

任何人都可以帮助我进行正确的配置来改变它吗?

这是我目前的配置:

      <index id="site_search_web_index" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider">
        <param desc="name">$(id)</param>
        <param desc="core">site_search_web</param>
        <param desc="propertyStore" ref="contentSearch/databasePropertyStore" param1="$(id)" />
        <strategies hint="list:AddStrategy">
          <strategy ref="contentSearch/indexUpdateStrategies/onPublishEndAsync" />
        </strategies>

        <locations hint="list:AddCrawler">
          <crawler type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch">
            <Database>web</Database>
            <Root>/sitecore/content/Home</Root>
          </crawler>
        </locations>
      </index>
Run Code Online (Sandbox Code Playgroud)

solr sitecore facet faceted-search

3
推荐指数
1
解决办法
1485
查看次数