QuanticStandaloneSearchBox
QuanticStandaloneSearchBox
The QuanticStandaloneSearchBox
component creates a search box with built-in support for query suggestions.
See Use a Standalone Search Box.
Example
<c-quantic-standalone-search-box engine-id={engineId} placeholder="Enter a query..." without-submit-button number-of-suggestions="8" redirect-url="/my-search-page/%40uri" search-hub="myhub" pipeline="mypipeline"></c-quantic-standalone-search-box>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The ID of the engine instance the component registers to. |
|
|
|
|
The placeholder text to display in the search box input area. |
|
|
|
|
Whether not to render a submit button. |
|
|
|
|
The maximum number of suggestions to display. |
|
|
|
|
The url of the search page to redirect to when a query is made.
The target search page should contain a |
|
|
|
|
The search hub to use for this Standalone Search Box. This value does not affect the target search page after redirection. Setting the searchhub to be used on the target search page should be done on said search page component. |
|
|
|
|
The query pipeline to use for this Standalone Search Box. This value does not affect the target search page after redirection. Setting the pipeline to be used on the target search page should be done on said search page component. |
|
|
|
|
Whether to render the search box using a textarea element. The resulting component will expand to support multi-line queries. |
|
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|
|
|