# IsIndexReady(string)

> Indicates if a search index is ready to be used.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public static bool IsIndexReady(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Unique name of the index. This name usually matches the one displayed in the Search Index Manager or the one used to invoke [SearchService.CreateIndex](/engine/6000.7/script-reference/unityeditor/search/searchservice/createindex.md).

### Returns

| Type                                                          | Description                                           |
| ------------------------------------------------------------- | ----------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the search index is ready to be used. |

### Remarks

When a search index is ready to be used, you can use [SearchService.Request](/engine/6000.7/script-reference/unityeditor/search/searchservice/request.md) with `p: a:<name_of_the_index> filters...` to only search that index's data.
