I have custom search Index(SOLR) which has two root locations defined, one points to /home node and another points to repository(videos), we also have indexing strategy(onPublishEndAsync) in place.
<locations hint="list:AddCrawler">
<crawler type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch">
<Database>web</Database>
<Root>path to home node</Root>
</crawler>
<crawler type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch">
<Database>web</Database>
<Root>path to repository items</Root>
</crawler>
</locations>
Problem which i am observing is- item from the second root location is not getting indexed(in this case repository items), if i move this to first, it index the repository items and not items under home node.
However, if i rebuild the index manually from indexing manager, everything works as expected.
Anyone have thoughts here? what is missing here to make sure indexing strategy works with multiple roots as well.
I am using Sitecore 8.1 (rev. 160302)
crawler
tag tocrawler2
like that:<crawler ...<Root>Home</Root></crawler><crawler2>...<Root>Repository</root><crawler2>