Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8992311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:55:27+00:00 2026-06-15T22:55:27+00:00

I have a deployed GAE app, and I’ve noticed that I have this simple

  • 0

I have a deployed GAE app, and I’ve noticed that I have this simple query:

MBObject.query(MBObject.groupId == group.id).fetch()

groupId is an ndb.StringProperty(indexed=True)

Looking at my index.yaml file and even Datastore Indexes in my GAE dashboard (at appengine.google.com), the index for this property is not listed, whatsoever. This could usually mean that I didn’t test the whole app in development mode before uploading, so I’d have to manually insert the index.

However, the query works just fine. It returns all the objects that I desire successfully. What I’m wondering is how this is possible? Why is the query going through even through groupId is not listed in my index.yaml nor my dashboard? Shouldn’t it raise some error?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:55:28+00:00Added an answer on June 15, 2026 at 10:55 pm

    GAE indexes all entities automatically and your query does not need a specific index definition in index.yaml because you are querying on one only property (it would not create any even if you would query on more than one property).

    if you would order this query lets say by a date property it would create an index definition in index.yaml if you would run it in the SDK or you can write them manually.

    from the docs:

    Every datastore query made by an application needs a corresponding
    index. Indexes for simple queries, such as queries over a single
    property, are created automatically. Indexes for complex queries must
    be defined in a configuration file named index.yaml. This file is
    uploaded with the application to create indexes in the datastore.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am planning on building a GWT app that will be deployed to GAE.
I have a website deployed on gae. This resource has purchased a domain, but
I have deployed a very simple Grails test app on Cloud Foundry which uses
I have deployed a Silverlight 5 PivotViewer web app that runs successfully on the
i have deployed my wcf service on IIS.. Its giving me this error when
I have deployed a simple REST based application in RAD. A simple URL is
I have deployed my app in remote server with capistrano and git. I'm novice
I have deployed my application on server and Now I am getting this error:
i have completed my First android application and i have deployed that application to
I have deployed an application on Google App Engine; I would like to see

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.