Home > @yext/search-core > SearchCore
Provides methods for executing searches, submitting questions, and performing autocompletes.
Signature:
export declare class SearchCore
Constructor | Modifiers | Description |
---|---|---|
(constructor)(searchService, questionSubmissionService, autoCompleteService) | Constructs a new instance of the SearchCore class |
Method | Modifiers | Description |
---|---|---|
filterSearch(request) | Performs a filtersearch request against specified fields within a single vertical. | |
submitQuestion(request) | Submits a custom question to the Search API. | |
universalAutocomplete(request) | Performs an autocomplete request across all verticals. | |
universalSearch(request) | Performs a search across all verticals. | |
verticalAutocomplete(request) | Performs an autocomplete request for a single vertical. | |
verticalSearch(request) | Performs a search for a single vertical. |