Interface SearchActionCreators
interface SearchActionCreators { executeSearch( analyticsSearchAction: LegacySearchAction, ): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>, >, >; fetchFacetValues( analyticsSearchAction: LegacySearchAction, ): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>, >, >; 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, GeneratedAnswerAPIClient>, >, >; fetchPage( analyticsSearchAction: LegacySearchAction, ): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>, >, >;} Methods
executeSearch
executeSearch( analyticsSearchAction: LegacySearchAction,): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>, >,> Parameters
- analyticsSearchAction: LegacySearchAction
Returns AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>,
>,
>
A dispatchable action.
fetchFacetValues
fetchFacetValues( analyticsSearchAction: LegacySearchAction,): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>, >,> Parameters
- analyticsSearchAction: LegacySearchAction
Returns AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>,
>,
>
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, GeneratedAnswerAPIClient>, >,> Returns AsyncThunkAction<
ExecuteSearchThunkReturn,
void,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>,
>,
>
A dispatchable action.
fetchPage
fetchPage( analyticsSearchAction: LegacySearchAction,): AsyncThunkAction< ExecuteSearchThunkReturn, LegacySearchAction, AsyncThunkOptions< StateNeededByExecuteSearch, ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>, >,> Parameters
- analyticsSearchAction: LegacySearchAction
Returns AsyncThunkAction<
ExecuteSearchThunkReturn,
LegacySearchAction,
AsyncThunkOptions<
StateNeededByExecuteSearch,
ClientThunkExtraArguments<SearchAPIClient, GeneratedAnswerAPIClient>,
>,
>
A dispatchable action.
The search action creators.