Keyoti SearchUnit API Docs
FilterLoadLevel Property
API DocumentationKeyoti.SearchEngine.WebSearchResultFilterLoadLevel
Keyoti SearchUnit v6
Specifies what amount of data to load for any filtering by a ResultItemsFinalized event handler or by an AddResultItemToResults override.
Declaration Syntax
C#Visual Basic
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public FilterLoadLevel FilterLoadLevel { get; set; }
<PersistenceModeAttribute(PersistenceMode.Attribute)> 
Public Property FilterLoadLevel As FilterLoadLevel
	Get
	Set
Property Value
Remarks

The ResultItemsFinalized *central event* can be handled, or SearchAgent.AddResultItemToResults method can be overridden to enable result filtering, but since that method is called early in the search process, it will include many results that will not actually be shown to the user (i.e. results on page 2 onwards). Therefore, it is preferable to load as little data for each document at this stage (since the document may not be presented as a result).

If no filtering is required, set this to DocId, for optimal search speed.

See the Central Event System section of the help for info on handling central events.

Assembly: Keyoti4.SearchEngine.Web (Module: Keyoti4.SearchEngine.Web.dll) Version: 2022.8.22.610