Examine is there a reason to set supportUnpublished="true"
We have a db with extremely much content and rebuilding index fails when supportUnpublished="true". Are there any other consequences besides unpublished content not getting indexed?
I am assuming this in on your internal index? By default on internal index that flag is set to true on external index it is not.
The internal index is used in the back office search where you would want to search on all content regardless of whether its published.
The external index is used on front end search and thus you would not want to include in your search results unpublished content as users would end up with 404's if they click on un published link.
I suspect that you have something un published and there is something wron g with that bit of content and that is causing indexing to fail. Do you have any gathering node events setup?
Is indexing only used for searching content? So Umbraco does not use indexing to retrieve content instead of querying the database? Do you have any examples of what can be wrong with the content?
The internal index is used for internal cache as well. With regards to content issues in v6 I have seen stray xml in rte mess things up also when you have gatheringnode data event and that has an error.
Can you confirm you have not custom code that uses gatheringnode data?
Examine is there a reason to set supportUnpublished="true"
We have a db with extremely much content and rebuilding index fails when supportUnpublished="true". Are there any other consequences besides unpublished content not getting indexed?
Did you check the Umbraco log file for why it fails?
Yes there is nothing in the log file.
Fredrik,
I am assuming this in on your internal index? By default on internal index that flag is set to true on external index it is not.
The internal index is used in the back office search where you would want to search on all content regardless of whether its published.
The external index is used on front end search and thus you would not want to include in your search results unpublished content as users would end up with 404's if they click on un published link.
I suspect that you have something un published and there is something wron g with that bit of content and that is causing indexing to fail. Do you have any gathering node events setup?
Regards
Ismail
Thank you for your response.
Is indexing only used for searching content? So Umbraco does not use indexing to retrieve content instead of querying the database? Do you have any examples of what can be wrong with the content?
We have 6 front-end sites that are loadbalanced.
Fredrik,
The internal index is used for internal cache as well. With regards to content issues in v6 I have seen stray xml in rte mess things up also when you have gatheringnode data event and that has an error.
Can you confirm you have not custom code that uses gatheringnode data?
Regards
Ismail
Ismail,
We're not using gateheringnodedata event in our code. It all works fine in version 7.2.4 but when we upgrade to the latest version it stops working.
Regards Fredrik
is working on a reply...