Python 2.7 has reached end of support and will be deprecated on January 31, 2026. After deprecation, you won't be able to deploy Python 2.7 applications, even if your organization previously used an organization policy to re-enable deployments of legacy runtimes. Your existing Python 2.7 applications will continue to run and receive traffic after their deprecation date. We recommend that you migrate to the latest supported version of Python.

Functions

The google.appengine.api.search package includes the following function:

get_indexes(namespace='', offset=None, limit=None, start_index_name=None, include_start_index=True, index_name_prefix=None, fetch_schema=False, deadline=None)

Return list of available indexes.

Arguments

namespace

Namespace of indexes to return. If not set, the current namespace is used.

offset

Offset of first index to return.

limit

Number of indexes to return.

start_index_name

Name of first index to return.

include_start_index

If true, include index specified by start_index_name in results.

index_name_prefix

Prefix for selecting indexes to return.

fetch_schema

Specifies whether to fetch the schema for each index.

deadline

Deadline for RPC call in seconds.

Result value

GetResponse object representing a list of indexes. If fetch_schema==true, each index will contain its schema.

Exceptions

TypeError

Invalid argument passed.

InternalError

Request failed on internal servers.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月24日 UTC.