Skip to content

Interacting with the SolrPower_Api class

Andrew Taylor edited this page Dec 19, 2016 · 1 revision

Interacting with the SolrPower_Api class

Running a Query

To run a direct Solr query use the query method of the SolrPower_Api class. This class is a singleton and should be called with the get_instance method.

$results = SolrPower_Api::get_instance()->query( $qry, $offset, $count, $fq, $sortby, $order );
Clone this wiki locally