I didn't found any macro that give this very nice function : the new quick search since Confluence 2.10.

I have created the next macro

<form id="quick-search" method="get" action="/confluence/dosearchsite.action">
<fieldset>
<input id="quick-search-query" style="color: black;" type="text" accessKey="q" autocomplete="off" name="queryString" size="20"/>
<input type="checkbox" name="searchQuery.spaceKey" value="$space.getKey()" > </input>
<font size="1" color="white" valign=middle >space only   </font>
</fieldset>
<fieldset class="hidden parameters">
<input type="hidden" id="quickSearchPlaceholder" value="Search">
<input type="hidden" id="quickNavEnabled" value="true">
<!-- Quick nav disabled. SettingsManager could not be found --> </fieldset>
</form>

It must be created without body and with output html.
I added a checkbox to restrict the search to the current space.
This macro only works in the header of a theme.

This can perhaps help somebody.

But perhaps is there something easier?

Thanks for your ideas.