我谈谈以下局势:
class M(db.Model):
a = db.ReferenceProperty(A)
x = db.ReferenceProperty(X)
y = db.ReferenceProperty(Y)
z = db.ReferenceProperty(Z)
items = db.StringListProperty()
date = db.DateTimeProperty()
我想提问,对(a)、(x、 y z)和(项目)进行过滤,时间是:
mm = M.all().filter( a = , a1).filter( x = , x1).filter( items = , i).order( -date )
There will never be a query with filter on x and y at the same time, for example.
因此,我的问题是:
(1) 我应制定多少(和哪些)指数?
(2) 我在项目上可以作多少补充说明? (按千方百计)
3) 如果有1 000个项目,我会有多少个指数记录?
I don t quite yet understand this index stuff, and is killing me. Your help will be very appreciated :)