Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Spellchecker::getCacheKey PHP Method

getCacheKey() private method

Compute an unique caching key for the spellcheck request.
private getCacheKey ( Smile\ElasticsuiteCore\Api\Search\Spellchecker\RequestInterface $request ) : string
$request Smile\ElasticsuiteCore\Api\Search\Spellchecker\RequestInterface Spellchecking request.
return string
    private function getCacheKey(RequestInterface $request)
    {
        return implode('|', [$request->getIndex(), $request->getType(), $request->getQueryText()]);
    }