Examine index fails to rebuild when supportUnpublished=true
Hi guys,
I have a site where we need to search for a node based that may be unpublished and, if found, publish it. So I have an index that doesn't support unpublished nodes which worked (found about 1200 nodes, as expected) but if I change it to support unpublished and try to rebuild the index using the Examine Management tab in the developer section, if fails with an alert saying:
"error: The index could not be rebuilt at this time, most likely there is another thread currently writing to the index. Error: System.NullReferenceException: Object reference not set to an instance of an object"
I'm running Umbraco 6.1.1 and my examine index set, indexer and searcher are as follows:
Examine index fails to rebuild when supportUnpublished=true
Hi guys,
I have a site where we need to search for a node based that may be unpublished and, if found, publish it. So I have an index that doesn't support unpublished nodes which worked (found about 1200 nodes, as expected) but if I change it to support unpublished and try to rebuild the index using the Examine Management tab in the developer section, if fails with an alert saying:
"error: The index could not be rebuilt at this time, most likely there is another thread currently writing to the index. Error: System.NullReferenceException: Object reference not set to an instance of an object"
I'm running Umbraco 6.1.1 and my examine index set, indexer and searcher are as follows:
Index set:
Indexer:
Searcher:
Thanks in advance everyone!
Alex,
The only time I have seen the unpublished attribute being used is for the internal index. Are you doing anything with gatheringnode data event?
This may be a bug you have uncovered. May need to raise on issue tracker.
Regards
Ismail
Thanks for looking Ismail. Raised an issue here: http://issues.umbraco.org/issue/U4-2463
@Alex,
Did you ever find a solution to this? I'm currently have the same issue. Running 6.1.3, started at 6.0.
Thanks
is working on a reply...