PHP 8.1.0 Beta 1 available for testing


(PECL solr >= 0.9.2)

SolrQuery::getQueryReturns the main query


public SolrQuery::getQuery(): string

Returns the main search query


This function has no parameters.

Return Values

Returns a string on success and null if not set.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top