-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
276 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...answers-core.answerscore._constructor_.md → .../answers-core.searchcore._constructor_.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [SearchCore](./answers-core.searchcore.md) | ||
|
||
## SearchCore class | ||
|
||
Provides methods for executing searches, submitting questions, and performing autocompletes. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare class SearchCore | ||
``` | ||
|
||
## Constructors | ||
|
||
| Constructor | Modifiers | Description | | ||
| --- | --- | --- | | ||
| [(constructor)(searchService, questionSubmissionService, autoCompleteService)](./answers-core.searchcore._constructor_.md) | | Constructs a new instance of the <code>SearchCore</code> class | | ||
|
||
## Methods | ||
|
||
| Method | Modifiers | Description | | ||
| --- | --- | --- | | ||
| [filterSearch(request)](./answers-core.searchcore.filtersearch.md) | | Performs a filtersearch request against specified fields within a single vertical. | | ||
| [submitQuestion(request)](./answers-core.searchcore.submitquestion.md) | | Submits a custom question to the Search API. | | ||
| [universalAutocomplete(request)](./answers-core.searchcore.universalautocomplete.md) | | Performs an autocomplete request across all verticals. | | ||
| [universalSearch(request)](./answers-core.searchcore.universalsearch.md) | | Performs a search across all verticals. | | ||
| [verticalAutocomplete(request)](./answers-core.searchcore.verticalautocomplete.md) | | Performs an autocomplete request for a single vertical. | | ||
| [verticalSearch(request)](./answers-core.searchcore.verticalsearch.md) | | Performs a search for a single vertical. | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
docs/answers-core.answerserror.code.md → docs/answers-core.searcherror.code.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [SearchError](./answers-core.searcherror.md) | ||
|
||
## SearchError class | ||
|
||
Represents an error | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare class SearchError extends Error | ||
``` | ||
<b>Extends:</b> Error | ||
## Remarks | ||
If the error originates from the Search API, the code and type property will be present. | ||
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `SearchError` class. | ||
## Properties | ||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [code?](./answers-core.searcherror.code.md) | | number | <i>(Optional)</i> Search API error code. | | ||
| [message](./answers-core.searcherror.message.md) | | string | The error message. | | ||
| [type?](./answers-core.searcherror.type.md) | | string | <i>(Optional)</i> Search API error type. | | ||
4 changes: 2 additions & 2 deletions
4
docs/answers-core.answerserror.message.md → docs/answers-core.searcherror.message.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.