Created
April 14, 2024 02:04
-
-
Save thadguidry/2586d0cb75db697b1b1268e64fe12234 to your computer and use it in GitHub Desktop.
Troubleshooting Algolia Search in Docusaurus
This file contains hidden or 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
From Edge Browser - Networking | |
REQUEST: | |
{ | |
"requests": [{ | |
"query": "join", | |
"indexName": "db2rest", | |
"params": "attributesToRetrieve: [" hierarchy.lvl0 "," hierarchy.lvl1 "," hierarchy.lvl2 "," hierarchy.lvl3 "," hierarchy.lvl4 "," hierarchy.lvl5 "," hierarchy.lvl6 "," content "," type "," url "] | |
attributesToSnippet: [" hierarchy.lvl1: 10 "," hierarchy.lvl2: 10 "," hierarchy.lvl3: 10 "," hierarchy.lvl4: 10 "," hierarchy.lvl5: 10 "," hierarchy.lvl6: 10 "," content: 10 "] | |
snippetEllipsisText: … | |
highlightPreTag: <mark> | |
highlightPostTag: </mark> | |
hitsPerPage: 20 | |
clickAnalytics: false | |
facetFilters: [" language: en ",[" docusaurus_tag: default "," docusaurus_tag: | |
docs - default - current "]]" | |
} | |
] | |
} | |
RESPONSE: | |
{ | |
"results": [ | |
{ | |
"hits": [], | |
"nbHits": 0, | |
"page": 0, | |
"nbPages": 0, | |
"hitsPerPage": 20, | |
"exhaustiveNbHits": true, | |
"exhaustiveTypo": true, | |
"exhaustive": { | |
"nbHits": true, | |
"typo": true | |
}, | |
"query": "join", | |
"params": "query=join&attributesToRetrieve=%5B%22hierarchy.lvl0%22%2C%22hierarchy.lvl1%22%2C%22hierarchy.lvl2%22%2C%22hierarchy.lvl3%22%2C%22hierarchy.lvl4%22%2C%22hierarchy.lvl5%22%2C%22hierarchy.lvl6%22%2C%22content%22%2C%22type%22%2C%22url%22%5D&attributesToSnippet=%5B%22hierarchy.lvl1%3A10%22%2C%22hierarchy.lvl2%3A10%22%2C%22hierarchy.lvl3%3A10%22%2C%22hierarchy.lvl4%3A10%22%2C%22hierarchy.lvl5%3A10%22%2C%22hierarchy.lvl6%3A10%22%2C%22content%3A10%22%5D&snippetEllipsisText=%E2%80%A6&highlightPreTag=%3Cmark%3E&highlightPostTag=%3C%2Fmark%3E&hitsPerPage=20&clickAnalytics=false&facetFilters=%5B%22language%3Aen%22%2C%5B%22docusaurus_tag%3Adefault%22%2C%22docusaurus_tag%3Adocs-default-current%22%5D%5D", | |
"index": "db2rest", | |
"renderingContent": {}, | |
"processingTimeMS": 1, | |
"processingTimingsMS": { | |
"_request": { | |
"roundTrip": 375 | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment