Move search to basic function.

Now all Chirp FS can be searched.
Move search to basic function.

* ccl/pull/429/head:
  Move search to basic function.