add search form as a portlet to main layout and add search action in page controller.
it searches only through page contents