public static function fuzzy($field, $value, $fuzziness = 'AUTO')
    {
        $body = array(
            'query' => array(
                'fuzzy' => array(
                    $field => array(
                        'value' => $value,
                        'fuzziness' => $fuzziness
                    )
                )
            ),
            'size' => 1000
        );

        return static::search($body);
    }
public static function fuzzy($field, $value, $fuzziness = 'AUTO')
    {
        $body = array(
            'query' => array(
                'fuzzy' => array(
                    $field => array(
                        'value' => $value,
                        'fuzziness' => $fuzziness
                    )
                )
            ),
            'size' => 1000
        );

        return static::search($body);
    }
public static function fuzzy ( $ field , $ value , $ fuzziness = 'AUTO' ) { $ body = array ( 'query' => array ( 'fuzzy' => array ( $ field => array ( 'value' => $ value , 'fuzziness' => $ fuzziness ) ) ) , 'size' => 1000 ) ; return static :: search ( $ body ) ; }
Builds a fuzzy query.

@param string $field
@param string $value
@param string $fuzziness
@return ElasticCollection
Builds a fuzzy query .