Lines Matching refs:float
67 * @param AbstractScript|array|float $functionParams the body of the function. See documentation for proper syntax.
69 * @param float|null $weight function weight
77 ?float $weight = null
101 * @param float|null $weight the weight of the function
105 public function addScriptScoreFunction(AbstractScript $script, ?AbstractQuery $filter = null, ?float $weight = null)
113 * TODO: Change "$origin" and "$scale" parameter types to allow "float|int|string".
120 * @param float|null $decay optionally defines how documents are scored at the distance given by the $scale parameter
121 * @param float|null $weight optional factor by which to multiply the score at the value provided by the $scale parameter
133 ?float $decay = null,
134 ?float $weight = null,
163 ?float $factor = null,
165 ?float $missing = null,
166 ?float $weight = null,
189 * @param float $weight the weight of the function
194 public function addWeightFunction(float $weight, ?AbstractQuery $filter = null): self
204 * @param float|null $weight an optional boost value associated with this function
212 ?float $weight = null,
231 public function setBoost(float $boost): self
241 public function setMaxBoost(float $maxBoost): self
292 public function setMinScore(float $minScore): self