SearchService.IsIndexReady

Declaration

public static bool IsIndexReady(string name);

Parameters

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.

Returns

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

Description

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.


Did you find this page useful? Please give it a rating: