Closed cossssmin closed 12 months ago
Hey, sorry but I completely missed your issue.
Version can actually make a difference here (especially that you mentioned that there is ni other significant difference).
Would you be able to use the version used in the nuxt algolia module?
Hi, no worries :)
I already am using the same version, I just followed the DocSearch setup guide from https://algolia.nuxtjs.org/advanced/docsearch
Tried pinning @docsearch/js@3.3.3
but that didn't work either. Not sure what the issue is...
Couldn't figure it out so ended up using @docsearch/js
directly. Feel free to close the issue if you prefer.
Have you maybe tried copying the flow in the playground? Maybe we miss something from the docs.
Version
@nuxtjs/algolia: v1.8.0 nuxt: v3.6.2
Reproduction Link
Nuxt config: https://github.com/cossssmin/docs-nuxt3/blob/main/nuxt.config.ts
Component: https://github.com/cossssmin/docs-nuxt3/blob/main/components/DocSearch.vue
Steps to reproduce
See demo: https://amazing-trifle-bf003d.netlify.app/
Click the search box and try searching for
template
, for example.hits
is returned empty although the index exists and all env variables are set.What is Expected?
The search to work like on maizzle.com (it uses the same api key/app id/index name).
What is actually happening?
hits
returning empty.From what I can see only the library versions are different in the query strings, could that be causing it?
Working version request URL (on maizzle.com):
@nuxtjs/algolia
, not working: