get_indexed_documents method

get_indexed_documents

Returns an array of all indexed documents.

def get_indexed_documents(self, shard_index):
    ...
Parameter Type Description
shard_index int The shard index.

Returns: list[GroupDocs.Search.Scaling.IndexedDocumentInfo]: An array of all indexed documents.

Example

from groupdocs.search.scaling import Searcher

# Assuming a Searcher instance is already configured for the desired network
documents = searcher.get_indexed_documents(shardIndex=0)
print(f"Indexed documents: {len(documents)}")

Aliases

These names call get_indexed_documents too, limited to the overloads listed.

Alias Accepts
get_indexed_documents_int32 get_indexed_documents_int32(shard_index)

See Also