Required string; Specifies the kind of the entities to index
has_ancestor
Required boolean; indicates if the index supports a query
that filters entities by the entity group parent
properties
Required list of (string, int) tuples; The entity properties
to index. First item in a tuple is the property name and the second
item is the sorting direction (ASCENDING|DESCENDING).
The order of the properties is based on the order in the index.
[[["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 2022-09-30 UTC."],[[["The `google.appengine.ext.db.Index` class represents a datastore index, uniquely identified by an `index_id`, and is used to index entities of a specified `kind`."],["The class constructor requires four arguments: `index_id` (a long), `kind` (a string), `has_ancestor` (a boolean), and `properties` (a list of tuples defining property names and sort direction)."],["Key methods of the `Index` class include `id()`, which returns the index ID, `kind()`, which returns the entity kind being indexed, `properties()`, which returns the indexed properties, and `has_ancestor()`, which checks for ancestor filtering."],["The class also supports comparison operations via `__eq__` (equal to) and `__ne__` (not equal to) methods, allowing for comparisons between `Index` instances."],["The `Index` class defines class variables `ASCENDING`, `BUILDING`, `DELETING`, `DESCENDING`, `ERROR`, and `SERVING` to represent constants related to indexing."]]],[]]