C# Class SitecoreHtmlCrawler.ComputedFields.HtmlCrawledField

Computed field that requests a page and indexes the content. Because it actually 'http requests' the page, the content of the components on the page are also indexed.
Inheritance: IComputedIndexField
Mostrar archivo Open project: hermanussen/sitecore-html-crawler

Public Methods

Method Description
ComputeFieldValue ( IIndexable indexable ) : object

Protected Methods

Method Description
GetAllInnerTexts ( HtmlNode node ) : string

Find all inner texts and return a simplified string.

Private Methods

Method Description
RemoveWhitespace ( string inputStr ) : string

Storing whitespace for a field that is only to be used for searching in is not very useful. This methods removes excessive whitespace.

Method Details

ComputeFieldValue() public method

public ComputeFieldValue ( IIndexable indexable ) : object
indexable IIndexable
return object

GetAllInnerTexts() protected method

Find all inner texts and return a simplified string.
protected GetAllInnerTexts ( HtmlNode node ) : string
node HtmlAgilityPack.HtmlNode
return string