lib/Elastica/Query/Match.php
public function setFieldPrefixLength(string $field, int $prefixLength): self
    {
        return $this->setFieldParam($field, 'prefix_length', $prefixLength);
    }
public function setFieldPrefixLength(string $field, int $prefixLength): self
    {
        return $this->setFieldParam($field, 'prefix_length', $prefixLength);
    }
public function setFieldPrefixLength ( string $ field , int $ prefixLength ) : self { return $ this -> setFieldParam ( $ field , 'prefix_length' , $ prefixLength ) ; }
Set field prefix length.

@param string $field
@param int    $prefixLength

@return $this
Set field prefix length .