IsIndexReady(string)
Indicates if a search index is ready to be used.
읽는 시간 1분최근 업데이트: 한 달 전
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...