for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace BEdita\ElasticSearch\Model\Document;
use Cake\ElasticSearch\Document;
/**
* Base searchable document.
*
* @property int|string $id Document ID.
*/
class Search extends Document
{
* Returns the score of this document as returned by ElasticSearch after search.
* @return float|null
* @codeCoverageIgnore
public function score(): float|null
return $this->_result?->getScore();
}