-
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.
### Features - Direct answers are now supported on vertical searches (#96) - For universal searches, a limit for each vertical can now be supplied (#90) (#93) - A session ID can now be supplied for vertical and universal searches (#94) - A query source can now be an arbitrary string for vertical and universal searches (#95) ### Enhancements - Question submissions are now sent to a new endpoint with higher availability (#98) ### Bugfixes - Fixes a bug which caused cookies to not be sent properly (#97)
- Loading branch information
Showing
32 changed files
with
251 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [UniversalLimit](./answers-core.universallimit.md) | ||
|
||
## UniversalLimit interface | ||
|
||
The maximum limit of results per vertical. Each limit can be set from 1-50, inclusive. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface UniversalLimit | ||
``` | ||
|
||
## Example | ||
|
||
{ people: 5, locations: 10, events: 8 } | ||
|
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [UniversalSearchRequest](./answers-core.universalsearchrequest.md) > [limit](./answers-core.universalsearchrequest.limit.md) | ||
|
||
## UniversalSearchRequest.limit property | ||
|
||
The maximum limit of results per vertical. Each limit can be set from 1-50, inclusive. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
limit?: UniversalLimit; | ||
``` |
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [UniversalSearchRequest](./answers-core.universalsearchrequest.md) > [sessionId](./answers-core.universalsearchrequest.sessionid.md) | ||
|
||
## UniversalSearchRequest.sessionId property | ||
|
||
Used to track session state when cookies are blocked. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
sessionId?: string; | ||
``` |
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [VerticalSearchRequest](./answers-core.verticalsearchrequest.md) > [sessionId](./answers-core.verticalsearchrequest.sessionid.md) | ||
|
||
## VerticalSearchRequest.sessionId property | ||
|
||
Used to track session state when cookies are blocked. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
sessionId?: string; | ||
``` |
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [VerticalSearchResponse](./answers-core.verticalsearchresponse.md) > [directAnswer](./answers-core.verticalsearchresponse.directanswer.md) | ||
|
||
## VerticalSearchResponse.directAnswer property | ||
|
||
A direct answer to a search. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
directAnswer?: FeaturedSnippetDirectAnswer | FieldValueDirectAnswer; | ||
``` |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.