# EnableSearchQuery

> This flag enables the use of the Saved Searches workflow in the Search Picker window.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Search](/engine/6000.6/script-reference/unityengine/search.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
EnableSearchQuery = 524288
```

### Remarks

This flag is not set by default. When it is not set, the Search Picker window will not show any panel or button related to the Saved Searches workflow. The flag [OpenLeftSidePanel](/engine/6000.6/script-reference/unityengine/search/searchviewflags/openleftsidepanel.md) will not work without [EnableSearchQuery](/engine/6000.6/script-reference/unityengine/search/searchviewflags/enablesearchquery.md).

### Examples

```csharp
[SearchContext("t:material", "asset", SearchViewFlags.EnableSearchQuery)]
public Material selectMaterial;
```
