[android-components](../../index.md) / [mozilla.components.feature.search](../index.md) / [SearchFeature](index.md) / [<init>](./-init-.md) # <init> `SearchFeature(store: `[`BrowserStore`](../../mozilla.components.browser.state.store/-browser-store/index.md)`, tabId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, performSearch: (`[`SearchRequest`](../../mozilla.components.concept.engine.search/-search-request/index.md)`, tabId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Lifecycle aware feature that forwards [SearchRequest](../../mozilla.components.concept.engine.search/-search-request/index.md)s from the [store](#) to [performSearch](#), and then consumes them. NOTE: that this only consumes SearchRequests, and will not hook up the [store](#) to a source of SearchRequests. See [mozilla.components.concept.engine.selection.SelectionActionDelegate](../../mozilla.components.concept.engine.selection/-selection-action-delegate/index.md) for use in generating SearchRequests.