SolrQuery
PHP Manual

SolrQuery::getQuery

(PECL solr >= 0.9.2)

SolrQuery::getQueryReturns the main query

Description

public string SolrQuery::getQuery ( void )

Returns the main search query

Parameters

This function has no parameters.

Return Values

Returns a string on success and NULL if not set.


SolrQuery
PHP Manual