Interface SearchActionCreators
interface SearchActionCreators { executeSearch( analyticsSearchAction: LegacySearchAction, ): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient>, >, >; fetchFacetValues( analyticsSearchAction: LegacySearchAction, ): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient>, >, >; fetchInstantResults( options: FetchInstantResultsActionCreatorPayload, ): AsyncThunkAction< FetchInstantResultsThunkReturn, FetchInstantResultsActionCreatorPayload, AsyncThunkSearchOptions< ConfigurationSection & Partial< QuerySection & AdvancedSearchQueriesSection & PaginationSection & SortSection & FacetSection & NumericFacetSection & CategoryFacetSection & DateFacetSection & ContextSection & DidYouMeanSection & FieldsSection & PipelineSection & SearchHubSection & QuerySetSection & FacetOptionsSection & FacetOrderSection & DebugSection & SearchSection & FoldingSection & TriggerSection, > & InstantResultSection, >, >; fetchMoreResults(): AsyncThunkAction< ExecuteSearchThunkReturn, void, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient>, >, >; fetchPage( analyticsSearchAction: LegacySearchAction, ): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient>, >, >;} Methods
executeSearch
- executeSearch(
analyticsSearchAction: LegacySearchAction,
): AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient>,
>,
> Parameters
- analyticsSearchAction: LegacySearchAction
Returns AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient>,
>,
>
A dispatchable action.
fetchFacetValues
- fetchFacetValues(
analyticsSearchAction: LegacySearchAction,
): AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient>,
>,
> Parameters
- analyticsSearchAction: LegacySearchAction
Returns AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient>,
>,
>
A dispatchable action.
fetchInstantResults
- fetchInstantResults(
options: FetchInstantResultsActionCreatorPayload,
): AsyncThunkAction<
FetchInstantResultsThunkReturn,
FetchInstantResultsActionCreatorPayload,
AsyncThunkSearchOptions<
ConfigurationSection & Partial<
QuerySection & AdvancedSearchQueriesSection & PaginationSection & SortSection & FacetSection & NumericFacetSection & CategoryFacetSection & DateFacetSection & ContextSection & DidYouMeanSection & FieldsSection & PipelineSection & SearchHubSection & QuerySetSection & FacetOptionsSection & FacetOrderSection & DebugSection & SearchSection & FoldingSection & TriggerSection,
> & InstantResultSection,
>,
> Returns AsyncThunkAction<
FetchInstantResultsThunkReturn,
FetchInstantResultsActionCreatorPayload,
AsyncThunkSearchOptions<
ConfigurationSection & Partial<
QuerySection & AdvancedSearchQueriesSection & PaginationSection & SortSection & FacetSection & NumericFacetSection & CategoryFacetSection & DateFacetSection & ContextSection & DidYouMeanSection & FieldsSection & PipelineSection & SearchHubSection & QuerySetSection & FacetOptionsSection & FacetOrderSection & DebugSection & SearchSection & FoldingSection & TriggerSection,
> & InstantResultSection,
>,
>
A dispatchable action.
fetchMoreResults
- fetchMoreResults(): AsyncThunkAction<
ExecuteSearchThunkReturn,
void,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient>,
>,
> Returns AsyncThunkAction<
ExecuteSearchThunkReturn,
void,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient>,
>,
>
A dispatchable action.
fetchPage
- fetchPage(
analyticsSearchAction: LegacySearchAction,
): AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient>,
>,
> Parameters
- analyticsSearchAction: LegacySearchAction
Returns AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient>,
>,
>
A dispatchable action.
The search action creators.