1
  1. Homeネストされた doctypeを含む doctype がありますProduct。そして、製品を検索できるようにしたいです。 ここに画像の説明を入力
    1. 次のように、ExamineIndex.config に Examine インデックスセットも作成しました。
 <IndexSet SetName="ProductsIndexSet" 
     IndexPath="~/App_Data/TEMP/ExamineIndexes/Products/" >
        <IndexAttributeFields>
          <add Name="id" />
          <add Name="nodeName"/>
          <add Name="productName"/>
          <add Name="nodeTypeAlias" />
        </IndexAttributeFields>
        <IncludeNodeTypes>    
          <add Name="homeProduct"/>
          <add Name="product"/>
        </IncludeNodeTypes>
      </IndexSet>
  1. 次のように、ExamineSettings.config に Examine Indexer を作成しました。
  <add name="ProductIndexer" type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
           supportUnpublished="true"
           supportProtected="true"
           analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"
           indexSet="ProductsIndexSet"/>
  1. 次のように ExamineSettings.config に製品サーチャーを作成しました。
   <add name="ProductSearcher"
               type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
                supportUnpublished="false"
               supportProtected="true"
                indexSet="ProductsIndexSet"
                analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>

しかし、Developer-Examine Management-ProductIndexerから Rebuild Index を実行すると、 Index に 0 Documents が表示されます。 ここに画像の説明を入力

ネストされたコンテンツの調査を続行する方法が本当にわかりません。Nested Contents で Examine Search Index を設定するのを手伝ってくれる人はいますか?

4

1 に答える 1