App Engine Search: How can I search multiple search indexes in parallel? -


i have lot of indexes, , slow because when query comes in user, sequentially goes through each of these results , appends results. indexes = search.get_indexes(index_name_prefix=userdomain, limit=200) domain_indexes = [index index in indexes if userdomain==str(index.name).split(":")[0] ] index in indexes: response.append(responselistitem) makes slow, question whether can farm these out , them in parallel, , afterwards coalesce results , send response user?

there not yet documented features make async calls in search api, datastore:

https://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/api/search/search.py#3636


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -