You are currently browsing legacy 4.0 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Conventions: Querying


Since RavenDB 4.0 there is no limitation for the number of results returned for a single query by the server. The throwIfQueryPageSizeIsNotSet convention decides whether RavenDB Client should prevent from executing queries if their page size is not explicitly set.

Enabling this configuration at development stage can be useful to pinpoint all the possible performance bottlenecks.

store.conventions.throwIfQueryPageSizeIsNotSet = true;