Update SearchController.java

testing failed case