【问题标题】:Examine MultiIndexSearcher Example Umbraco检查 MultiIndexSearcher 示例 Umbraco
【发布时间】:2018-09-10 23:16:24
【问题描述】:

尝试使用 MultiIndexSearcher 提供程序在 razor 中获取搜索器。

<add name="MultiIndexSearcher"
    type="Examine.LuceneEngine.Providers.MultiIndexSearcher, Examine"
    indexSets="ExternalIndexSet,CustomIndexSet" enableLeadingWildcards="true"
    />

这导致零结果 - 通过代码和后台的检查管理。

有没有人有使用 MultiIndexSearcher 的示例或代码 sn-p,因为我显然遗漏了一些东西。

【问题讨论】:

    标签: umbraco umbraco7 examine


    【解决方案1】:

    尝试指定分析器,如下所示:

    <add name="MultiIndexSearcher"
    type="Examine.LuceneEngine.Providers.MultiIndexSearcher, Examine"
    indexSets="ExternalIndexSet,CustomIndexSet" enableLeadingWildcards="true"
    analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"
    />
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多