You could set an "invariant" parameter value, but that would mean they can't give an override.

It might be a useful addition to Solr to have a maximum value (specified as an invariant).

You could also simply add your own Solr "search component" that checked and maxed the &rows.

-- Jack Krupansky

-----Original Message----- From: solr-user
Sent: Tuesday, November 20, 2012 8:23 PM
To: solr-user@lucene.apache.org
Subject: is there a way to prevent abusing rows parameter

silly question

is there any configuration value I can set to prevent someone from entering
a bad value for the rows parameter?

ie to prevent something like "&rows=100000000"  from crashing my servers?

the server I am looking at is a solr v3.6



--
View this message in context: http://lucene.472066.n3.nabble.com/is-there-a-way-to-prevent-abusing-rows-parameter-tp4021467.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to