I am designing a `SpringBoot` `RESTful API` for a `Product` searching with various attributes (search can be one or more). Few of the criteria are greater than a certain amount and few are less than. In the `@RequestParam` we can take String or similar values but not any criteria.

My question is what's the best way to get the user data for these criteria in a `GET` search API call

```
@GetMapping("/search")
public ResponseEntity<List<OrderView>> searchOrders(...)
{
...
// call to service implementation
...
}

```