If I have 1000000000 entities and I make a query that produce much less records than 10.000 (I think I'll have no more then 1000 results for query) they will be sorted correctly... Search api fetches results from your query. I agree with you if you make an empty query, yes, it will fetch the top ranking 10.000 and then make the custom sorting.
On Friday, March 27, 2015 at 3:01:38 PM UTC+1, Kaan Soral wrote: > > "There is an explicit property, SortOptions.limit, that controls the size > of the sort. You can never sort more than 10,000 docs, the default is > 1,000." > > So if you have 1000000000 entities, it fetches the top ranking 10.000, > then sorts them, so the entire 100000....0 isn't sorted, I don't call that > sorting > > I don't know what's your use case is, but this detail probably discards > many use cases > > --- > > For my use case, Search API is perfect, I just convert popularity to > search document rank > -- 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/9c4cbb77-cb0f-43b6-87c8-cdb3e208051b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
