Skip to main content
This method is deprecated.
Requires Admin API key To ensure rapid updates, the user IDs index isn’t built at the same time as the mapping. Instead, it’s built every 12 hours, at the same time as the update of user ID usage. For example, if you add or move a user ID, the search will show an old value until the next time the mapping is rebuilt (every 12 hours).

Usage

// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));

// Call the API
var response = await client.SearchUserIdsAsync(
  new SearchUserIdsParams
  {
    Query = "test",
    ClusterName = "theClusterName",
    Page = 5,
    HitsPerPage = 10,
  }
);

// print the response
Console.WriteLine(response);

See the full API reference

For more details about input parameters and response fields.