Appengine (python) returns empty for valid requests

EDIT: Thought. For some reason, the field in the index was named strWord instead of wordStr. I didn't notice because of the similarities. The file was generated automatically, so I had to call this field in a previous version.

I have an application with roughly half a million "records", each of which only stores three fields. I would like to search for records by string fields with a query, but I am having problems. If I am on the console page, manually review the entry and save it (without making any changes), it appears in the prompt:

SELECT * FROM wordEntry WHERE wordStr = 'SomeString'

If I don't, I get "no results". Does it take time to update the app? If so, how much? (I also had problems deleting a batch and modifying data, but I was able to break the problem down into smaller chunks.)

+2


a source to share


1 answer


When this happened to me, because I was using TextField

that cannot be queried (but vaguely just ignored). Try switching to StringField

.



0


a source







All Articles