Skip to content
Snippets Groups Projects
Commit 5a83fb8c authored by Aivaras Sev's avatar Aivaras Sev
Browse files

options now is option argument for addDecayFunction.

closes #27
parent ee124db6
No related branches found
No related tags found
No related merge requests found
......@@ -117,10 +117,10 @@ class FunctionScoreQuery implements BuilderInterface
BuilderInterface $filter = null
) {
$function = [
$type => [
$field => $function,
],
$options
$type => array_merge(
[$field => $function],
$options
)
];
$this->applyFilter($function, $filter);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment