On Mon, Mar 3, 2014 at 3:40 AM, <[email protected]> wrote: > Since GAE 1.9 release the search API indexes are limited to 10 GB data > only. so the problem is if we have to save data more than this limit then > we will have to spread it in multiple indexes and we will have to do > queries in multiple indexes. So how can we perform search across multiple > indexes >
Assuming you already have multiple indexes set and documents inserted, you can retrieve all available indexes by calling getIndexes (see the code example here: https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/search/SearchService). After you have a reference to each index, you can call Index.search(Query) with your query. If you want to search multiple indexes simultaneously, you can call searchAsync() on each and block until all the responses come in. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
