SolrDocument::key

(PECL solr >= 0.9.2)

SolrDocument::keyRetrieves the current key

說明

public SolrDocument::key(): string

Retrieves the current key.

參數

此函數沒有參數。

返回值

Returns the current key.