The *Search* portlet allows users to do a search with any string. In eXo Content, there are three types of search: quick search, advanced search and search with saved queries.

The users can find this porlet in the front page. This is an example of the *Search* portlet used in eXo Content:

!images/search-portlet.png|align="center"!

* *Packaging*: This portlet is packaged in the _searches.war_ file.

* *The portlet class name*: _org.exoplatform.wcm.webui.search.UIWCMSearchPortlet_

* *Available preferences*: When using this portlet, you can customize the following preferences: {anchor:id=CONTref.Portlets.Search.AvailablePreferences}
|| *Preference* || *Type*|| *Value* || *Description* ||
| *repository* | {{String}} | {{repository}} | The place where data are stored and maintained. |
| *workspace* | {{String}} | {{collaboration}} | The workspace where the content is stored. |
| *searchFormTemplatePath* | {{String}} | {{/exo:ecm/views/templates/WCM Advance Search/search-form/UIDefaultSearchForm.gtmpl}} | The path to the search form template. |
| *searchResultTemplatePath* | {{String}} |{{ /exo:ecm/views/templates/WCM Advance Search/search-result/UIDefaultSearchResult.gtmpl}} | The path to the search result template. |
| *searchPaginatorTemplatePath* | {{String}} | {{/exo:ecm/views/templates/WCM Advance Search/search-paginator/UIDefaultSearchPaginator.gtmpl}} | The path to the search paginator template. |
| *searchPageLayoutTemplatePath* | {{String}} |{{/exo:ecm/views/templates/WCM Advance Search/search-page-layout/UISearchPageLayoutDefault.gtmpl}} | The path to the search page template. |
| *itemsPerPage* | {{Integer}} | 5 | The number of items for each page. |
| *showQuickEditButton* | {{Boolean}} | {{true}} | Show or hide the quick edit icon.|
| *basePath* | {{String}} | {{parameterizedviewer}} | The page which is used to display the search result. |

* *Sample configuration* {anchor:id=CONTref.Portlets.Search.SampleConfiguration}

{code:xml}
<portlet-preferences>
  <preference>
    <name>repository</name>
    <value>repository</value>
    <read-only>false</read-only>
  </preference>
  <preference>
    <name>workspace</name>
    <value>collaboration</value>
    <read-only>false</read-only>
  </preference>
  <preference>
    <name>searchFormTemplatePath</name>
    <value>/exo:ecm/views/templates/WCM Advance Search/search-form/UIDefaultSearchForm.gtmpl</value>
    <read-only>false</read-only>
  </preference>
  <preference>
    <name>searchResultTemplatePath</name>
    <value>/exo:ecm/views/templates/WCM Advance Search/search-result/UIDefaultSearchResult.gtmpl</value>
    <read-only>false</read-only>
  </preference>
  <preference>
    <name>searchPaginatorTemplatePath</name>
    <value>/exo:ecm/views/templates/WCM Advance Search/search-paginator/UIDefaultSearchPaginator.gtmpl</value>
    <read-only>false</read-only>
  </preference>
  <preference>
    <name>searchPageLayoutTemplatePath</name>
    <value>/exo:ecm/views/templates/WCM Advance Search/search-page-layout/UISearchPageLayoutDefault.gtmpl</value>
    <read-only>false</read-only>
  </preference>
  <preference>
    <name>itemsPerPage</name>
    <value>5</value>
    <read-only>false</read-only>
  </preference>
  <preference>
    <name>showQuickEditButton</name>
    <value>true</value>
    <read-only>false</read-only>
  </preference>
  <preference>
    <name>basePath</name>
    <value>parameterizedviewer</value>
    <read-only>false</read-only>
  </preference>
</portlet-preferences>
{code}
