public function searchableBy(string ... $memberExpressions)
    {
        $this->updateOptions(function (ObjectIdentityOptions $options) use ($memberExpressions) {
            if ($options instanceof EntityIdOptions) {
                return $options->withFilterByMemberExpressions($memberExpressions);
            }

            throw InvalidOperationException::methodCall(__METHOD__, 'filtering is only supported on entity sets');
        });

        return $this;
    }