IsIndexReady(string)
Indicates if a search index is ready to be used.
阅读时间1 分钟最后更新于 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...