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 ...@@ -117,10 +117,10 @@ class FunctionScoreQuery implements BuilderInterface
BuilderInterface $filter = null BuilderInterface $filter = null
) { ) {
$function = [ $function = [
$type => [ $type => array_merge(
$field => $function, [$field => $function],
], $options
$options )
]; ];
$this->applyFilter($function, $filter); $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