Den onsdag 1 juli 2015 kl. 14:35:04 UTC+2 skrev barryhunter: > > > > On 1 July 2015 at 13:27, Filip Nilsson <[email protected] <javascript:>> > wrote: > >> I’m trying to retrive all documents in a search index in an efficent >> manner. >> > > Why? To be frank it just sounds like bad design. Try to do whatever you > doing by accessing less data. >
Each document is displayed in a web front end, where the user can perform filtering etc. The strategy before did the search on the server side, but the site was very slow since each filtering operation required a request to the backend, so now I do all the filtering on the client side with very excellent performance. > > > >> >> Any suggestions on how to access all items faster, or is it simply >> impossible? >> > > Certainly think it impractical, but not impossible. > > > >> There must be a faster way to just retrieve everything. >> > > A search index is designed for getting a very specific subset quite > quickly, its simply not designed to 'get everything'. > > I guess that, if I decided to continue with this approach, I need to just access the data store directly. The problem is that a lot of logic is dependant on the index, so it's no small task to replace all that. If I would just get all the documents out of the index in a fast manner, I could keep everything else the same. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/34208e5e-cfcb-45d4-b9dc-7143a00addd2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
