Query.BypassResultTypes property

SharePoint 2013

Gets or sets a Boolean value that indicates whether the ResultTypes obtained from the search results should be used or overridden.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

public bool BypassResultTypes { get; set; }

Property value

Type: System.Boolean

When the search engine returns search results, ResultTypes are returned accordingly. These ResultTypes are usually used to determine how the search results are displayed via their display templates. BypassResultTypes lets you override these display templates.