PHP 8.1.31 Released!

SolrQuery::setQuery

(PECL solr >= 0.9.2)

SolrQuery::setQuerySets the search query

Description

public SolrQuery::setQuery(string $query): SolrQuery

Sets the search query.

Parameters

query

The search query

Return Values

Returns the current SolrQuery object

add a note

User Contributed Notes

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