lib/Elastica/Query/MoreLikeThis.php
public function setAnalyzer(string $analyzer): self
    {
        $analyzer = \trim($analyzer);

        return $this->setParam('analyzer', $analyzer);
    }
public function setAnalyzer(string $analyzer): self
    {
        $analyzer = \trim($analyzer);

        return $this->setParam('analyzer', $analyzer);
    }
public function setAnalyzer ( string $ analyzer ) : self { $ analyzer = \ trim ( $ analyzer ) ; return $ this -> setParam ( 'analyzer' , $ analyzer ) ; }
Set analyzer.

@param string $analyzer

@return $this
Set analyzer .