- I have a doctype
Homewhich 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?
If your home node alias is "home" then you need to add that to your Included Node Types on the Index configuration.
productdoesn't need to be included unless it's also a content node in it's own right.You may also want to take a look at the article here which outlines an approach to indexing nested content etc.:
https://youritteam.com.au/blog/indexing-content-in-complex-umbraco-data-types