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:
Comments
Post a Comment