Introduced limits for search operations: sizeLimit and timeLimit

Two parameters, ‘sizeLimit’ and ‘timeLimit’ can now be specified in the
same map that holds sort information, wherever that map is allowed.
SizeLimit specifies the maximum number of entries to be returned,
TimeLimit specifies the maximum duration (in seconds) of the search
operation.