SolrDocument::key

SolrDocument::key — Retrieves the current key

Description

public SolrDocument::key(): string

Retrieves the current key.

Parameters

This function has no parameters.

Return Values

Returns the current key.