Exakat\Analyzer\Analyzer::analyzerIsNot PHP Method

analyzerIsNot() public method

public analyzerIsNot ( $analyzer )
    public function analyzerIsNot($analyzer)
    {
        if (is_array($analyzer)) {
            foreach ($analyzer as &$a) {
                $a = self::getName($a);
            }
            unset($a);
            $this->addMethod('where( __.in("ANALYZED").has("analyzer", within(***)).count().is(eq(0)) )', $analyzer);
        } else {
            if ($analyzer === 'self') {
                $analyzer = self::getName($this->analyzerQuoted);
            } else {
                $analyzer = self::getName($analyzer);
            }
            $this->addMethod('where( __.in("ANALYZED").has("analyzer", "' . $analyzer . '").count().is(eq(0)) )');
        }
        return $this;
    }
Analyzer