Search bar that is linked to multiple data type

how do i do a a search box that is linked to multiple data type?

Entirely depends on what data you have and what your requirements for immediacy of results are.