php / 8.1.5 / solrdocument.key.html /

SolrDocument::key

(PECL solr >= 0.9.2)

SolrDocument::keyRetrieves the current key

Description

public SolrDocument::key(): string

Retrieves the current key.

Parameters

This function has no parameters.

Return Values

Returns the current key.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrdocument.key.php