src/QueryBuilder.php
/**
     * Creates OR-joined multiple prefix queries for the list of keys
     * 
     * Creates a prefix query for the $value for each key in the $keys
     * 
     * @param array $keys
     * @param type $value
     * @param type $bool
     * @param array $params
     * @return QueryBuilder|static|self
     */
Creates OR-joined multiple prefix queries for the list of keys

Creates a prefix query for the $value for each key in the $keys


Creates OR - joined multiple prefix queries for the list of keys Creates a prefix query for the $value for each key in the $keys
public function multiPrefix(array $keys, $value, $bool = "must", $filter = false, array $params = []) {
        $subQuery = $this->orWhere($bool);
        foreach ($keys as $key) {
            $subQuery->prefix($key, $value, $bool, true, $params);
        }
        $subQuery->endSubQuery();
        return $this;
    }
public function multiPrefix ( array $ keys , $ value , $ bool = " must " , $ filter = false , array $ params = [ ] ) { $ subQuery = $ this -> orWhere ( $ bool ) ; foreach ( $ keys as $ key ) { $ subQuery -> prefix ( $ key , $ value , $ bool , true , $ params ) ; } $ subQuery -> endSubQuery ( ) ; return $ this ; }
Creates OR-joined multiple prefix queries for the list of keys
Creates OR - joined multiple prefix queries for the list of keys