You are here

function apachesolr_views_query::set_limit in Apache Solr Views 6

Set a LIMIT on the query, specifying a maximum number of results.

Overrides views_plugin_query::set_limit

File

./apachesolr_views_query.inc, line 402

Class

apachesolr_views_query
Class for handling a view that gets its data not from the database, but from a Solr server.

Code

function set_limit($limit) {
  $this->limit = $limit;
}