IsIndexReady(string)
Indicates if a search index is ready to be used.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static bool IsIndexReady(string name)
Parameters
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.
Returns
Type | Description |
|---|---|
| bool | 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 with to only search that index's data.
p: a:<name_of_the_index> filters...