Sleimanx2\Plastic\Map\Grammar::compileToken_count PHP Method

compileToken_count() public method

Compile a completion map.
public compileToken_count ( Illuminate\Support\Fluent $fluent ) : array
$fluent Illuminate\Support\Fluent
return array
    public function compileToken_count(Fluent $fluent)
    {
        $map = ['type' => 'token_count', 'boost' => $fluent->boost, 'doc_values' => $fluent->doc_values, 'include_in_all' => $fluent->include_in_all, 'index' => $fluent->index, 'null_value' => $fluent->null_value, 'precision_step' => $fluent->precision_step, 'store' => $fluent->store];
        return $this->formatMap($map);
    }