public function createFulltextIndex($collectionId, array $fields, $minLength = null)
    {
        $indexOptions = [];

        if ($minLength) {
            $indexOptions[self::OPTION_MIN_LENGTH] = $minLength;
        }

        return $this->index($collectionId, self::OPTION_FULLTEXT_INDEX, $fields, null, $indexOptions);
    }