A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://cloud.google.com/appengine/docs/legacy/standard/python/search/functions below:

Functions | App Engine standard environment for Python 2

Functions

Stay organized with collections Save and categorize content based on your preferences.

This API is supported for first-generation runtimes and can be used when upgrading to corresponding second-generation runtimes. If you are updating to the App Engine Python 3 runtime, refer to the migration guide to learn about your migration options for legacy bundled services.

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.

Note: There is also a corresponding asynchronous method, get_indexes_async(), which is identical except it returns a future. To get the actual result, call get_result() on the returned value; that call will block.

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-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This API function `get_indexes` is available for first-generation runtimes and can be used when migrating to second-generation runtimes."],["The `get_indexes` function retrieves a list of indexes within a specified namespace, with options to set an offset, limit, starting index, and prefix."],["The `get_indexes_async()` method offers asynchronous retrieval of the index list, returning a future that requires `get_result()` to be called to obtain the actual result."],["Parameters for `get_indexes` include options for namespace, offset, limit, starting index name, prefix, fetching schema information, and setting a deadline for the RPC call."],["The function returns a `GetResponse` object which contains the list of indexes and their schemas when `fetch_schema` is set to true, and it can raise a `TypeError` or `InternalError` in case of issues."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4