HtmlContentInBodyWithRequestsProcessor to resolve non-public item

This idea is to allow the HtmlContentInBodyWithRequestsProcessor all Sitecore items and not just "public" items. Indeed, when the processor encounters items that marked as not Publishable, it will return this error in the Sitecore logs.

 

ManagedPoolThread #7 14:33:24 INFO The item {5A0514FE-4739-4D9A-ABEF-D29499FF8116} in the language en and version 3 has been added.
ManagedPoolThread #7 14:33:24 ERROR An exception occurred while trying to fetch the HTML content of the document.
Exception: System.Net.WebException
Message: The remote server returned an error: (404) Not Found.
Source: System
at System.Net.HttpWebRequest.GetResponse()
at Coveo.SearchProvider.Processors.HtmlItemContentFetcher.FetchItemContent(String p_Url)
at Coveo.SearchProvider.Processors.HtmlContentInBodyWithRequestsProcessor.Process(CoveoPostItemProcessingPipelineArgs p_Args)

 

  • Gravatar Frederic Cote
  • Mar 4 2016
  • Planned
I need it... Not sure -- just thought it was cool
  • Mar 7, 2016

    Admin Response

    This will be improved soon in version 4.0 by leveraging Sitecore pipelines to render items instead of doing simple web requests like we do today. This pipeline will allow to index rendered HTML of items even if they are coming from the master database, or any non published content actually.

  • Attach files
  • Gravatar