---
title: Coveo Searchbox
slug: '3041'
canonical_url: https://docs.coveo.com/en/3041/
collection: coveo-for-sitecore-v5
source_format: adoc
---
# Coveo Searchbox
> **Legacy feature**
>
> The Coveo Hive Framework is now in maintenance mode and is no longer recommended for new implementations.
>
> To build new search experiences, use one of Coveo's more modern, lightweight, and responsive libraries.
> To get started, see the [Build search](https://docs.coveo.com/en/2473/) article.
Implements the [Coveo JavaScript Search Framework](https://docs.coveo.com/en/187/) [Omnibox](https://coveo.github.io/search-ui/components/omnibox.html) component which renders a query box input, query clearing and submission buttons, and an area for query suggestions to be displayed.
The **{doctitle}** rendering triggers search and query suggestion calls to the Search API through the reverse proxy.
## Usage notes
* See [Query Suggestions](https://docs.coveo.com/en/2797/) for more details on how to enable and use this feature.
* You can [customize the CSS](https://docs.coveo.com/en/2342/) associated with this rendering.
## Insertion location
Coveo Hive
The Coveo Searchbox rendering is an Allowed Control in the following placeholder(s): Searchbox
Example insertion sequence for the Coveo Searchbox rendering.
Coveo Hive SXA
Coveo for Sitecore SXA rendering insertion locations are not limited by placeholder Allowed Controls. The Coveo Searchbox rendering may therefore be inserted throughout the partial design, whether in Coveo for Sitecore or Sitecore placeholders.
Example insertion sequence for the Coveo Searchbox rendering.
## Data source options
The following table lists the available data source options for this rendering.
[%header,cols="33%,66%"]
|===
|Option name
|Description
|Placeholder text
|See the [placeholder](https://coveo.github.io/search-ui/components/omnibox.html#options.placeholder) component option.
|Height
|See the [height](https://coveo.github.io/search-ui/components/searchbox.html#options.height) component option.
|Enable partial match
|See the [enablePartialMatch](https://coveo.github.io/search-ui/components/querybox.html#options.enablepartialmatch) component option.
|Partial match minimum number of keywords
|See the [partialMatchKeywords](https://coveo.github.io/search-ui/components/querybox.html#options.partialmatchkeywords) component option.
|Partial match threshold
|See the [partialMatchThreshold](https://coveo.github.io/search-ui/components/querybox.html#options.partialmatchthreshold) component option.
|Enable wildcards
|See the [`enableWildcards`](https://coveo.github.io/search-ui/components/querybox.html#options.enablewildcards) component option.
|Enable question marks
|See the [enableQuestionMarks](https://coveo.github.io/search-ui/components/querybox.html#options.enablequestionmarks) component option.
|Enable lowercase operators
|See the [enableLowercaseOperators](https://coveo.github.io/search-ui/components/querybox.html#options.enablelowercaseoperators) component option.
|Enable query syntax
|See the [enableQuerySyntax](https://coveo.github.io/search-ui/components/querybox.html#options.enablequerysyntax) component option.
|Query suggest character threshold
|See the [querySuggestCharacterThreshold](https://coveo.github.io/search-ui/components/omnibox.html#options.querysuggestcharacterthreshold) component option.
|Clear filters on new query
|See the [clearFiltersOnNewQuery](https://coveo.github.io/search-ui/components/omnibox.html#options.clearfiltersonnewquery) component option.
|Enable Coveo Machine Learning query suggestions
|See the [enableQuerySuggestAddon](https://coveo.github.io/search-ui/components/omnibox.html#options.enablequerysuggestaddon) component option.
|Enable field suggestions after typing @ in searchbox
|See the [enableFieldAddon](https://coveo.github.io/search-ui/components/omnibox.html#options.enablefieldaddon) component option.
|Enable field suggestions in searchbox
|See the [enableFieldAddon](https://coveo.github.io/search-ui/components/omnibox.html#options.enablefieldaddon) component option.
|Enable suggestions of query extensions
|See the [enableQueryExtensionAddon](https://coveo.github.io/search-ui/components/omnibox.html#options.enablequeryextensionaddon) component option.
|Initialization file name
|Specifies the `cshtml` file to use to initialize the search box (see [Use custom initialization scripts](https://docs.coveo.com/en/2788/)).
|DOM unique ID
a|{empty}
--
Randomly generated HTML element ID.
--
|Additional data attributes
a|{empty}
--
Allows [use of the Coveo JavaScript Search Framework **Omnibox** component options](https://docs.coveo.com/en/2776/) that aren't directly available in the data source.
--
|===
## Sample generated HTML and corresponding rendering behavior
```html
```
