File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ public function getFakeFormType(): array
4949 public function configureOptions (OptionsResolver $ optionsResolver ): void
5050 {
5151 $ optionsResolver ->define ('fuzziness ' )
52- ->default (1. )
53- ->allowedTypes ('float ' );
52+ ->default (1 )
53+ ->allowedTypes ('int ' );
5454
5555 $ optionsResolver ->define ('boost ' )
5656 ->default ([])
@@ -60,6 +60,14 @@ public function configureOptions(OptionsResolver $optionsResolver): void
6060 ->default ([])
6161 ->allowedTypes ('array ' );
6262
63+ $ optionsResolver ->define ('boostQueries ' )
64+ ->default ([])
65+ ->allowedTypes ('array ' );
66+
67+ $ optionsResolver ->define ('boostFunctions ' )
68+ ->default ([])
69+ ->allowedTypes ('array ' );
70+
6371 $ optionsResolver ->define ('boostPublishDate ' )
6472 ->default (false )
6573 ->allowedTypes ('boolean ' );
You can’t perform that action at this time.
0 commit comments