Add search API.
Merge pull request #77 from tobie/search

Add search API.