SolrQuery::setExpandQuery

Sets the expand.q parameter

Description

public SolrQuery SolrQuery::setExpandQuery(string $q)

Sets the expand.q parameter.

Overrides the main q parameter, determines which documents to include in the main group.

Parameters

q

Return Values

SolrQuery

See Also

  • SolrQuery::setExpand
  • SolrQuery::addExpandSortField
  • SolrQuery::removeExpandSortField
  • SolrQuery::setExpandRows
  • SolrQuery::addExpandFilterQuery
  • SolrQuery::removeExpandFilterQuery