Please don't use opensearch. It's meant for generic applications which implement the OpenSearch protocol (e.g. browsers which want to expose site search in their address bar for aritrary websites). Use one of the normal search APIs, like action=search or action=prefixsearch.