What is Opensearch?
Opensearch allows you to specify how queries are formed when searching a website. You can read the documentation at opensearch.org
How to install it?
This is how I have achieve it on my site
First add a autodiscovery link to your site pages
<link rel="search" type="application/opensearchdescription+xml" title="Rabin's blog" href="/opensearch.xml"/>