terminateAfter and sorting


Hi. From the description of terminateAfter its not clear if this works with sorting. IE if the query would (without terminateAfter) result in 100 documents and terminateAfter=10 then would sorting (for instance on my_field ASCENDING) with limit=10 still give you the smallest 10 docs?

From the docs "An optional document count, upon collecting which the search query will early terminate"

(system) #2