Hendy/umbraco-look

Warn if MaxResults < TotalItemCount ?

Opened this issue · 0 comments

Hendy commented

A new configuration and query option MaxResults has been added (since 0.38.0), this value specifies the max number of results that can be returned for a query.

There could be more potential results to return than that specified by the MaxResults value - should MaxResults default to int.MaxValue instead of 5000, and then throw an exception if TotalItemCount > MaxResults.