Add index configuration to specify maximum possible limit
Implementations may not support returning up to Integer.MAX_VALUE
results, so allow this to be specified per implementation. This is
distinct from the configured per-user limits, as it represents a
fundamental limitation of the underlying index backend rather than an
administrative decision.
Encapsulate this in its own class that can be injected into
QueryProcessor, and use this in the limit computation.
Change-Id: I7d1093a2aa3800ff5437c6b1c78b12d73b17db05
6 files changed