Controller

@GetMapping("/fullSearch")
public ResponseEntity<List<PostDTO>> fullSearch(
        @RequestParam("text") String text,
        @RequestParam("start") String start,
        @RequestParam("end") String end) {

    List<PostDTO> posts = postService.fullSearch(text, start, end);
    if (posts.isEmpty()) {
        return ResponseEntity.notFound().build();
    }
    return ResponseEntity.ok(posts);
}

Atualizado