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

compileIp() public method

Compile an ip map.
public compileIp ( Illuminate\Support\Fluent $fluent ) : array
$fluent Illuminate\Support\Fluent
return array
    public function compileIp(Fluent $fluent)
    {
        $map = ['type' => $fluent->type, '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);
    }