Skip to main content
This page documents an earlier version of the API client. For the latest version, see Browse all rules.
Required ACL: settings The list contains the name and details of conditions and consequences for all rules for the selected index. To export rules, you will need to use an iterator.

Examples

var rulesIterator = index.BrowseRules();

foreach (var rule in rulesIterator)
{
    Console.WriteLine(rule);
}

Parameters

indexName
string
Index name. Only required in the Scala API client.
requestOptions
object
A mapping of request options to send along with the query.

Response

This method returns an iterator.
I