Skip to content

Commit 63ff8c5

Browse files
committed
Add docvalue_fields to Search whitelist, remove fields
1 parent 68630a0 commit 63ff8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elasticsearch/Endpoints/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ protected function getParamWhitelist()
6464
'default_operator',
6565
'df',
6666
'explain',
67-
'fields',
6867
'from',
6968
'ignore_unavailable',
7069
'allow_no_indices',
@@ -93,6 +92,7 @@ protected function getParamWhitelist()
9392
'timeout',
9493
'version',
9594
'fielddata_fields',
95+
'docvalue_fields',
9696
'filter_path'
9797
);
9898
}

0 commit comments

Comments
 (0)