Set field boost value.

If not set, defaults to 1.0.

@param string $field
@param float  $boost

@return $this
552350
public function setFieldBoost(string $field, float $boost = 1.0): self
    {
        return $this->setFieldParam($field, 'boost', $boost);
    }
950647
public function removeHeader($field)
    {
        $ucField = strtoupper($field);

        if ($ucField === 'SET-COOKIE') {
            $this->cookies = [];
        } elseif (isset($this->ucHeaders[$ucField])) {
            $field = $this->ucHeaders[$ucField];
            unset(
                $this->ucHeaders[$ucField],
                $this->headers[$field]
            );
        }

        return $this;
    }
959518
public function removeField($field)
    {
        $this->checkValidLoader();

        if (in_array($field, $this->loaders[ $this->contextLoader ])) {
            array_splice(
                $this->loaders[ $this->contextLoader ],
                array_search($field, $this->loaders[ $this->contextLoader ])
            );
        }

        return $this;
    }
1002272
public function setFields(array $fields)
    {
        $this->clearFields();

        foreach ($fields as $field) {
            $this->addField($field);
        }

        return $this;
    }
992014
public function setField($field = null)
    {
        $this->field = null;

        if (!$field = $this->internalResolveField($field)) {
            $this->field = $this->fieldId = null;
        } else {
            $this->fieldId = $field->id;
            $this->field = $field;
        }

        return $this;
    }
95500
public function field($fieldName, $phrase = false, $boost = 1.0)
    {
        return function(FieldExpression $expr, LuceneCompiler $compiler) use ($fieldName, $phrase, $boost)
        {
            $value = $compiler->phrasize($expr->getValue(), $phrase);

            return new LuceneFieldExpression($fieldName, $value, $boost);
        };
    }
81110
public function setTerm(string $key, $value, float $boost = 1.0): self
    {
        return $this->setRawTerm([$key => ['value' => $value, 'boost' => $boost]]);
    }
393402
public function addField(string $field, string $value): self
    {
        $this->fields[$field] = $value;

        return $this;
    }
1120626
protected function setAsFloat($field, $value)
    {
        if (in_array($field, $this->getColumns()) && (
                !array_key_exists($field, $this->object) ||
                $this->object[$field] !== $value
            )) {
            $this->dirtyFields[$field] = true;
        }
        $this->object[$field] = (float) $value;

        return $this;
    }
1201110
public function addField(Field $field)
    {
        $field
            ->setSection($this->currentSection)
            ->setOptionName($this->registry['option_name'])
        ;

        if (isset($this->registry['field_values'][$field->getId()])) {
            $field->setValue($this->registry['field_values'][$field->getId()]);
        }

        $this->registry['fields'][] = $field;

        return $this;
    }
1246422
public function setFields($fields)
    {
        if ($fields instanceof RecordFields) {
            $this->fields = $fields;
        } else {
            if (is_array($fields)) {
                $fields       = new RecordFields($fields);
                $this->fields = $fields;
            }
        }
        return $this;
    }
318581
public function pushField(Field $field)
    {
        $field = $this->formatField($field);

        $this->fields->push($field);

        return $this;
    }
905061
public function field(...$fields)
    {
        if(!isset($fields[1]) && is_array($fields[0]))
        {
            $this->option->field = array_merge($this->option->field, $fields[0]);
        }
        else
        {
            $this->option->field = array_merge($this->option->field, $fields);
        }
        return $this;
    }
1232189
public function flipBoolValue($field)
    {
        $this->setField($field, (int)!$this->getField($field));

        return $this;
    }
287187
public function readdField($field)
    {
        $this->checkValidLoader();

        foreach ($this->loaders as $loader => $fields) {
            if (in_array($field, $this->loaders[ $loader ])) {
                array_splice($this->loaders[ $loader ], array_search($field, $this->loaders[ $loader ]), 1);
            }
        }

        $this->addField($field);

        return $this;
    }
1192008
public function setMultiValue($key, $value, $boost = false)
	{
		$this->addField($key, $value, $boost);
	}
382607
public function & SetField (\MvcCore\Ext\Forms\IField & $field) {
		$this->__protected['fieldRendering'] = TRUE;
		$this->field = & $field;
		return $this;
	}