Hi,
I've encountered wrong index I think, please help.
I write the following model and query.
(In model, I leave out some properties aren't associated with index)
class Ownership(BaseModel):
title = db.StringProperty()
user = db.UserProperty()
created_on = db.DateTimeProperty(auto_now_add = True)
deleted = db.BooleanProperty(default=False)
query = models.Ownership.all().filter('user', user),filter('deleted',
False).order('-created_on').fetch(offset, amount)
Definition of index is generated as below.
- kind: Ownership
properties:
- name: deleted
- name: user
- name: created_on
direction: desc
The result set is ordered by '-created_on', but it is not sequential.
Some entities don't hit.
So I uploaded a same definition of index after vacuum_index, but I
face a similar situation and missing entities are different with
result I got before vacuum_index.
I think same definition of index create same index, but result is not
same.
I don't know why this situation is happened, please help.
My app-id is 'book-case-2'.
At last, I'm sorry my english is poor.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---