-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update semantic search result parsing to match latest API changes
Previously, the semantic search results were enclosed inside "body", but they have been moved up a level for simplicity and consistency with keyword search, so the front end parsing needs to be adjusted accordingly, namely: data.body.response → data.response Thanks to Joost van Ulden, Bo Lu and Xinli Cai for letting me know! Also, now that both returned_hits and total_hits are available, we can show e.g. "1 – 10 of 320 records" now. Bump version to v0.3.8 for good fortune. Happy Lunar New Year, coming soon!
- Loading branch information
1 parent
2e6a238
commit 6e52273
Showing
4 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
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