You can try to use "layout" module (settings/layout.ini), and pass variable via GET to the template. Then use search operator and loop to present result.
Here you can read more about custom search box http://ez.no/ez_publish/documentation/customization/components/search/custom_search_box
Thank you for the tip.. It worked well except one problem:
Suppose I associated searchLayout.tpl to search.tpl
I should write in the url:
<i>../layout/set/searchLayout/search</i> This worked well, but then what's happening, all relative paths are being preceded by layout/set/searchLayout/
Suppose for example I have a normal uri : <i>/content/view/full/104</i>
when accessing this uri from the searchLayout after using the layout module the uri becomes: <i>../layout/set/searchLayout/search/content/view/full/104</i>