Modifying /search endpoint to accept the name of a field in which the
search has to be performed.