Skip to content

Latest commit

 

History

History
151 lines (68 loc) · 2.03 KB

search-core.searchcore.md

File metadata and controls

151 lines (68 loc) · 2.03 KB

Home > @yext/search-core > SearchCore

SearchCore class

Provides methods for executing searches, submitting questions, and performing autocompletes.

Signature:

export declare class SearchCore 

Constructors

Constructor

Modifiers

Description

(constructor)(searchService, questionSubmissionService, autoCompleteService)

Constructs a new instance of the SearchCore class

Methods

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.