Fix code example on search method.
Fix code example on search method.

Character is interface without properties, so to access `name` and
`surname` we use `getName()` and `getSurname()` methods.

quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus