get_indexed_paths method

On this page

get_indexed_paths

Returns a list of indexed paths – documents or folders.

def get_indexed_paths(self):
    ...

Returns: list[str]: The indexed paths.

Example

    from groupdocs.search import Index

    index = Index("./index")
    # add documents or folders to the index as needed
    indexed_paths = index.get_indexed_paths()
    print(indexed_paths)  # e.g., ['./documents', './more_docs']
    ```

### See Also
* class [`Index`](/search/python-net/groupdocs.search/index/)

On this page