How To Search In Multiple Models

I have three tables Posts, Books, and Items. Now I want to create a search field and a single button that will do search in all of these three tables.

So how can I do this ??

Is there any complete example, so that I can get help from that. Any wiki ? or example demo ? etc

nobody is gonna write the code for you. you have to look at the example and change your code accordingly