InstantSearch
/
React
/
V6
/
API reference
Aug. 07, 2023
Configure | React InstantSearch V6 (Deprecated)
This version of React InstantSearch has been deprecated in favor of the latest version of React InstantSearch.
Signature
Signature
<Configure {...object searchParameters} />
About this widget
The Configure
widget lets you provide raw search parameters to the Algolia API.
Any props you add to this widget is forwarded to Algolia. For more information on the different parameters you can set, have a look at the search parameters API reference.
This widget can be used with react-dom
and react-native
. It doesn’t render anything on screen, it only applies the provided parameters to the search.
Examples
Copy
1
2
3
4
5
6
7
8
9
import { Configure } from 'react-instantsearch-dom';
<Configure
filters="free_shipping:true"
hitsPerPage={4}
analytics={false}
enablePersonalization={true}
distinct
/>
Props
searchParameters
Optional
Type:
object
A list of search parameters to enable when the widget mounts.
Copy
1
2
3
4
5
6
7
<Configure
filters="free_shipping:true"
hitsPerPage={4}
analytics={false}
enablePersonalization={true}
distinct
/>
Did you find this page helpful?