Skip to content

Commit

Permalink
misc(search-explain): set default value
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker committed Jan 24, 2025
1 parent a8d6c54 commit 37c97fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public ResponseEntity<ExplainResponse> explainSearchQuery(
@Nullable
List<SortCriterion> sortCriteria,
@Parameter(name = "searchFlags", description = "Optional configuration flags.")
@RequestParam(value = "searchFlags", required = false)
@RequestParam(value = "searchFlags", required = false, defaultValue = "{\"fulltext\":true}")
@Nullable
String searchFlags)
throws JsonProcessingException {
Expand Down Expand Up @@ -338,7 +338,7 @@ public ResponseEntity<String> explainSearchQueryDiff(
@Nullable
List<SortCriterion> sortCriteria,
@Parameter(name = "searchFlags", description = "Optional configuration flags.")
@RequestParam(value = "searchFlags", required = false)
@RequestParam(value = "searchFlags", required = false, defaultValue = "{\"fulltext\":true}")
@Nullable
String searchFlags)
throws JsonProcessingException {
Expand Down

0 comments on commit 37c97fd

Please sign in to comment.