public function compileCompletion(Fluent $fluent)
    {
        $map = [
            'type'                => 'completion',
            'analyzer'            => $fluent->analyzer,
            'search_analyzer'     => $fluent->search_analyzer,
            'payloads'            => $fluent->payloads,
            'preserve_separators' => $fluent->preserve_separators,
            'max_input_length'    => $fluent->max_input_length,
        ];

        return $this->formatMap($map);
    }