lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <erik.hatc...@gmail.com>
Subject Re: limiting deep pagination
Date Tue, 08 Oct 2013 23:49:23 GMT
I'd recommend a custom "first-components" SearchComponent.  Then it could simply validate (or
adjust) the parameters or throw an exception. 

Knowing Tomás - that's probably what he'd really do :) 
    
    Erik

On Oct 8, 2013, at 19:34, Tomás Fernández Löbbe <tomasflobbe@gmail.com> wrote:

> I don't know of any OOTB way to do that, I'd write a custom request handler
> as you suggested.
> 
> Tomás
> 
> 
> On Tue, Oct 8, 2013 at 3:51 PM, Peter Keegan <peterlkeegan@gmail.com> wrote:
> 
>> Is there a way to configure Solr 'defaults/appends/invariants' such that
>> the product of the 'start' and 'rows' parameters doesn't exceed a given
>> value? This would be to prevent deep pagination.  Or would this require a
>> custom requestHandler?
>> 
>> Peter
>> 

Mime
View raw message