app engine ndb - Google appengine search api sort by ndb value -


i having list of products. have added google appengine search api index each product being each document. user can search products. far good.

now want user able sort price of product ascending or descending. if have fixed price each product, build separate indexes , put documents inside them. unfortunately, prices dynamic. product price can change 3-4 times day. have more 200,000 products.

since rewriting document each time price changes bad, have ndb datastore model has documentid , price entity attributes.

is there way sort search api results, based on price in ndb model. alternate design solutions welcome.


Comments

Popular posts from this blog

mysql - How to unscape text from database in android studio -

php - Admin SDK -- get information about the group -

Making CSS Drop Down Menu 2 Columns -