Version: 2021.3
public static bool IsIndexReady (string name);

参数

name 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.

返回

bool Returns true if the search index is ready to be used.

描述

Indicates if a search index is ready to be used.

When a search index is ready to be used, you can use SearchService.Request with `p: a:<name_of_the_index> filters...` to only search that index's data.