Share via


Query.IgnoreAllNoiseQuery Property

Applies to: Microsoft SharePoint Server 2010 search
Gets or sets a Boolean value that specifies whether the search query should execute if the query text contains only noise words.

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

Syntax

'Declaration
Public Property IgnoreAllNoiseQuery As Boolean
    Get
    Set
'Usage
Dim instance As Query
Dim value As Boolean

value = instance.IgnoreAllNoiseQuery

instance.IgnoreAllNoiseQuery = value
public bool IgnoreAllNoiseQuery { get; set; }

Property Value

Type: System.Boolean
true if search queries containing only noise words are not executed; otherwise, false.

Remarks

The default value is true.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace