Skip to content

Commit

Permalink
added highlight to search endpoint whitelist
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Pratt <[email protected]>
  • Loading branch information
prattcmp authored Dec 3, 2023
1 parent 9ebb183 commit 8054d23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/OpenSearch/Endpoints/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public function getParamWhitelist(): array
'batched_reduce_size',
'max_concurrent_shard_requests',
'pre_filter_shard_size',
'rest_total_hits_as_int'
'rest_total_hits_as_int',
'highlight'

Check warning on line 82 in src/OpenSearch/Endpoints/Search.php

View check run for this annotation

Codecov / codecov/patch

src/OpenSearch/Endpoints/Search.php#L81-L82

Added lines #L81 - L82 were not covered by tests
];
}

Expand Down

0 comments on commit 8054d23

Please sign in to comment.