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

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

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -