php8.5
Home/ Manual/ solr / solrclient/ SolrClient::getOptions

SolrClient::getOptions

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.6)

Returns the client options set internally

Description

SolrClient::getOptions(): array

Returns the client options set internally. Very useful for debugging. The values returned are readonly and can only be set when the object is instantiated.

Parameters Parameters

Return Values

Returns an array containing all the options for the SolrClient object set internally.

See Also

  • SolrClient::__construct

Source: reference/solr/solrclient/getoptions.xml · from the official PHP manual (php/doc-en)