[feature]search for posts
Merge pull request #257 from peterzd/fix_api_search

[feature]search for posts