- I have a doctype
Home
which contains nested doctypeProduct
. And i want to be able to search Products.- I have also created an Examine indexset in ExamineIndex.config as follows:
<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>
- I have created Examine Indexer in ExamineSettings.config as follows:
<add name="ProductIndexer" type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine" supportUnpublished="true" supportProtected="true" analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" indexSet="ProductsIndexSet"/>
- I have created product Searcher in ExamineSettings.config as follows:
<add name="ProductSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine" supportUnpublished="false" supportProtected="true" indexSet="ProductsIndexSet" analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
But when running the Rebuild Index from Developer- Examine Management- ProductIndexer, I am getting 0 Documents in Index.
I am really not sure how to proceed with examine over nested Contents. Can anyone help me to set up Examine Search Index on Nested Contents?