AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageCommonBasePage..::..SearchIndexUsingBrowserInstance Method

Setting this instructs the search indexing to create a browser instance so that javascript api and events can be fired. This method can be significantly slower and introduces overhead, but may be required depending on how a page is rendered

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public void SearchIndexUsingBrowserInstance(
	eSearchIndexMethod searchIndexMethodSetting
)

Parameters

searchIndexMethodSetting
Type: AdvantageCMS.Core.Keyoti..::..eSearchIndexMethod
Options on how to determine when it is safe to index. WaitUntilSearch.DOMContentLoaded = Dom has been loaded WaitUntilSearch.Networkidle0: All network calls have been completed WaitUntilSearch.Networkidle2: 2 or less network calls are currently outstanding WaitUntilSearch.WaitforSearchFlag: developer must implement Advantage_Waitfor_Search_Flag=true; in javascript to inform the indexer to continue.

See Also


AdvantageCommonBasePage