--- title: FullSearch Lightning component slug: '1096' canonical_url: https://docs.coveo.com/en/1096/ collection: coveo-for-salesforce source_format: adoc --- # FullSearch Lightning component The `FullSearch` component allows your users access to a full length Coveo-powered search page inside the Lightning experience. Whereas the [`CommunitySearch` component](https://docs.coveo.com/en/2945/) is meant to be used inside a community, the `FullSearch` component is meant to be used inside the Lightning Service Console. ![Example of a Coveo full search page in a Lightning Console app | Coveo for Salesforce](https://docs.coveo.com/en/assets/images/coveo-for-salesforce/full-search.png) ## Usage Reference it in your Lightning component as you would for any other Aura component, using the namespace prefix of the Coveo package. ```xml ``` ## Resources included with this component This component includes the [Coveo JavaScript Search Framework](++https://github.com/coveo/search-ui++), the [jQuery](++https://jquery.com/++) (latest 3.x.x version) library, and the Coveo for Salesforce specific assets. > **Note** > > Since Lightning Locker is automatically enabled on this component, the [underscore result templates](https://docs.coveo.com/en/413#using-the-underscore-engine) aren't supported. > You must use [HTML templates](https://docs.coveo.com/en/413#using-the-html-engine-recommended) instead. ## Aura event This component offers the following event: ### `ErrorEvent` This error is fired when an error occurs with the component. ## Options This component offers the following options: ### `name` - **As of the Coveo for Salesforce v5 release** The name of the `Page Content` record that contains the HTML code of your search interface. - **Prior Coveo for Salesforce versions** The name of the Visualforce component that contains the HTML code of your search interface. Default value is `coveoFullSearch`. ### `searchHub` The name of the searchHub to be sent to [Coveo Analytics](https://docs.coveo.com/en/182/). This option should have the same value as `name`. ### `recordFields` A comma-separated list of the fields to use as the default query for the component. ### `openResultsInSubTab` Whether the results should open in a subtab when clicking them. Default value is `false`. ### `debug` Whether to use the non-minified versions of the different resources. Default value is `false`.