server search logic finish

cc