get_shard_indices method

On this page

get_shard_indices

Retrieves an array of all shard indices in the search network.

def get_shard_indices(self):
    ...

Returns: list[int]: An array of all shard indices in the search network.

Example

    shard_indices = node.get_shard_indices()
    print(shard_indices)
    ```

### See Also
* class [`SearchNetworkNode`](/search/python-net/groupdocs.search.scaling/searchnetworknode/)

On this page