public function filterByIndexEngineIndexVersion($indexEngineIndexVersion, $comparison = null)
    {
        if ($indexEngineIndexVersion instanceof \IndexEngine\Model\IndexEngineIndexVersion) {
            return $this
                ->addUsingAlias(IndexEngineIndexTableMap::ID, $indexEngineIndexVersion->getId(), $comparison);
        } elseif ($indexEngineIndexVersion instanceof ObjectCollection) {
            return $this
                ->useIndexEngineIndexVersionQuery()
                ->filterByPrimaryKeys($indexEngineIndexVersion->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByIndexEngineIndexVersion() only accepts arguments of type \IndexEngine\Model\IndexEngineIndexVersion or Collection');
        }
    }