\r\n```yaml\r\n // algolia搜索\r\n search: {\r\n provider: 'algolia',\r\n options: {\r\n appId: 'xxxxx',\r\n apiKey: 'xxxxx',\r\n indexName: 'xxxxxx'\r\n }\r\n },",[],2944,"\"Algolia Search\" cannot jump to the page","2023-09-21T00:04:13Z","https://github.com/vuejs/vitepress/issues/2944",0.71758175,{"description":3057,"labels":3058,"number":3059,"owner":3024,"repository":3025,"state":3026,"title":3060,"updated_at":3061,"url":3062,"score":3063},"Algolia Button Translation setting doesn't work at first load of homepage. \r\n\r\n**Reproduction**:\r\n\r\n(i) Enter [this test site](https://vite-press-test.vercel.app/), look at Algolia search button - It's in English (It should be Chinease under Translation setting).\r\n\r\n(ii) Click the Algolia search button, the button text would change to Chinese.\r\n\r\n_Originally posted by @hyp530 in https://github.com/vuejs/vitepress/issues/788#issuecomment-1157305253_\r\n\r\n---\r\n\r\n```ts\r\n// .vitepress/config.ts\r\n\r\nexport default {\r\n // ...\r\n themeConfig: {\r\n algolia: {\r\n // ...\r\n translations: {\r\n button: {\r\n buttonText: '搜索文档',\r\n buttonAriaLabel: '搜索文档',\r\n },\r\n },\r\n },\r\n },\r\n}\r\n```",[],796,"Algolia translations are not respected on initial load","2023-01-21T14:34:08Z","https://github.com/vuejs/vitepress/issues/796",0.7182773,{"description":3065,"labels":3066,"number":3073,"owner":3024,"repository":3025,"state":3026,"title":3074,"updated_at":3075,"url":3076,"score":3077},"### Describe the bug\n\nHello, when I was searching using Algolia, the search results on the vitepress page were not displayed. However, Algolia's console page showed 140 records. Is this a missing configuration? By the way, for the project reason, I didn't use docsearch, but Algolia's build plan\n\n### Reproduction\n\nThe error can be seen on this website https://stackblitz.com/edit/vite-48o9dv?file=docs%2F.vitepress%2Fconfig.ts,package.json\r\nThis is the source code of the website https://github.com/galgaxy3/docs-demo\n\n### Expected behavior\n\nThere should be a query result\n\n### System Info\n\n```Text\nChrome, vitepress 1.0.0-rc.44\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3067,3070],{"name":3068,"color":3069},"question","5D5FAE",{"name":3071,"color":3072},"stale","ededed",3614,"Algolia search result is empty","2024-04-28T12:24:52Z","https://github.com/vuejs/vitepress/issues/3614",0.71861494,{"description":3079,"labels":3080,"number":3084,"owner":3024,"repository":3025,"state":3026,"title":3085,"updated_at":3086,"url":3087,"score":3088},"### Discussed in https://github.com/vuejs/vitepress/discussions/1368\r\n\r\n\u003Cdiv type='discussions-op-text'>\r\n\r\n\u003Csup>Originally posted by **Zogsha** September 19, 2022\u003C/sup>\r\nHi, thanks for your work on vitepress!\r\n\r\nMy documentation site is written in French, so I need the Docsearch component in French.\r\n\r\nI have two problems :\r\n\r\n1. There is a `algolia.buttonText` option in `themeConfig`. I set it to \"Rechercher\" instead of the default \"Search\", but whenever I click on the search component or use \"CTRL+K\", the placeholder turns back to \"Search\". It only displays \"Rechercher\" when the page refreshes. I only tested in dev.\r\n\r\n2. In the Docsearch API Reference, there is `translations` option (https://docsearch.algolia.com/docs/api#translations). I can't figure out how to configure it.\r\n\r\nI think __1.__ is not intended, but I didn't look further. Is __2.__ intended ? If that is the case, do you plan to let us translate the Doscsearch modal via `algolia` config in `themeConfig`?\r\n\r\nThanks,\r\nAliosha\u003C/div>",[3081],{"name":3082,"color":3083},"theme","0754FB",1381,"[i18n] allow translating docsearch labels","2023-01-25T00:04:21Z","https://github.com/vuejs/vitepress/issues/1381",0.7245905,{"description":3090,"labels":3091,"number":3093,"owner":3024,"repository":3025,"state":3026,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Is your feature request related to a problem? Please describe.\n\n Algolia Search : transformItems not work.\r\n\r\n\r\n\r\n\r\n\n\n### Describe the solution you'd like\n\nI want http://hostname/prefix/guide/ -> http://hostname/guide/\r\n\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[3092],{"name":3082,"color":3083},614," Algolia Search : transformItems not work","2023-01-21T14:16:55Z","https://github.com/vuejs/vitepress/issues/614",0.72624534,{"description":3099,"labels":3100,"number":3101,"owner":3024,"repository":3025,"state":3026,"title":3102,"updated_at":3103,"url":3104,"score":3105},"我参考当前 vitepress 最新 docs config 的配置,去配置搜索,并且配置 en/zh 两个语言\n\n然后 algolia 中配置爬虫爬取网站数据后,设置上 api key,也创建出了索引。索引名也是对上的。\n\n但是请求后,响应正常,但是响应是空的,没搜索出任何内容。\n\n下面是请求的 logs,能给些如何配置 algolia 的建议么,看上去似乎是 vitepress 请求中带上了 \n\n```\n\"facetFilters\": [\n \"lang:en-US\"\n ]\n```\n\n但是 algolia 爬取的数据中,并没有 lang 字段内容,所以过滤不到数据?是我哪里没配置对么?\n\n```\n{\n \"requests\": [\n {\n \"query\": \"xmake\",\n \"indexName\": \"xmake_pages\",\n \"attributesToRetrieve\": [\n \"hierarchy.lvl0\",\n \"hierarchy.lvl1\",\n \"hierarchy.lvl2\",\n \"hierarchy.lvl3\",\n \"hierarchy.lvl4\",\n \"hierarchy.lvl5\",\n \"hierarchy.lvl6\",\n \"content\",\n \"type\",\n \"url\"\n ],\n \"attributesToSnippet\": [\n \"hierarchy.lvl1:10\",\n \"hierarchy.lvl2:10\",\n \"hierarchy.lvl3:10\",\n \"hierarchy.lvl4:10\",\n \"hierarchy.lvl5:10\",\n \"hierarchy.lvl6:10\",\n \"content:10\"\n ],\n \"snippetEllipsisText\": \"…\",\n \"highlightPreTag\": \"\u003Cmark>\",\n \"highlightPostTag\": \"\u003C/mark>\",\n \"hitsPerPage\": 20,\n \"clickAnalytics\": false,\n \"facetFilters\": [\n \"lang:en-US\"\n ]\n }\n ]\n}\n```\n\n```\n{\n \"results\": [\n {\n \"hits\": [\n ],\n \"nbHits\": 0,\n \"page\": 0,\n \"nbPages\": 0,\n \"hitsPerPage\": 20,\n \"exhaustiveNbHits\": true,\n \"exhaustiveTypo\": true,\n \"exhaustive\": {\n \"nbHits\": true,\n \"typo\": true\n },\n \"query\": \"xmake\",\n \"params\": \"query=xmake&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%22lang%3Aen-US%22%5D\",\n \"index\": \"xmake_pages\",\n \"renderingContent\": {\n },\n \"processingTimeMS\": 1,\n \"processingTimingsMS\":\n\n[...]\n\nResponse body has been truncated.\n```\n\n\u003Cimg width=\"775\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/e2f669b0-910c-4cac-97f9-10c51c6c2f4f\" />",[],4802,"配置完 algolia 搜索,检索不出任何内容","2025-06-22T01:00:42Z","https://github.com/vuejs/vitepress/issues/4802",0.7301374,{"description":3107,"labels":3108,"number":3109,"owner":3024,"repository":3025,"state":3026,"title":3110,"updated_at":3111,"url":3112,"score":3113},"### Describe the bug\r\n\r\nI am experiencing an issue with the integrated search component (Algolia).\r\nThe search function is not working properly, as it returns **zero results** when I use the web interface in my recently created project with Vitepress. \r\n\r\nHowever, if I perform a search using the API or on Algolia's website, the search function works correctly and returns results.\r\n\r\nIt's possible that there may be an issue with the search component in Vitepress that's causing this problem. \r\n\r\nI wanted to bring this to your attention in the hopes that it can be addressed and fixed as soon as possible. \r\n\r\n### Reproduction\r\n\r\n- Create an Algolia account\r\n- Configure the algolia section with index, API key and app id.\r\n - ```\r\n appId: '5D6FRGxxxx', \r\n apiKey: 'e04451b589c484090xxxxxxxxxxxxxxx', \r\n indexName: 'csspills'\r\n ```\r\n- Create the index (both manually / via API)\r\n - ```\r\n [\r\n {\r\n title: 'Pill 1 CLI',\r\n description: 'Create a new project with the CLI',\r\n tags: [ 'demo1', 'cli' ]\r\n },\r\n {\r\n title: 'Pill 2 AWS',\r\n description: 'Create a new AWS project from the command line',\r\n tags: [ 'demo2', 'AWS' ]\r\n }\r\n ]\r\n ```\r\n- Start the local server\r\n- Search \r\n\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\nShow results after searching\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 13.2.1\r\n CPU: (8) x64 Apple M1\r\n Memory: 7.73 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm\r\n Browsers:\r\n Brave Browser: 107.1.45.133\r\n Chrome: 109.0.5414.119\r\n Chrome Canary: 112.0.5609.0\r\n Firefox: 95.0.2\r\n Firefox Developer Edition: 108.0\r\n Safari: 16.3\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nUI Request: \r\n```\r\nhttps://5d6frgc6t9-dsn.algolia.net/1/indexes/*/queries?x-algolia-agent=Algolia%20for%20JavaScript%20(4.8.5)%3B%20Browser%20(lite)%3B%20docsearch%20(3.3.3)%3B%20docsearch-react%20(3.3.3)%3B%20docsearch.js%20(3.3.3)&x-algolia-api-key=e04451b589c484090xxxxxxxxxxxxxxx&x-algolia-application-id=5D6FRGxxxx\r\n```\r\nRequest Method: `POST`\r\nStatus Code: `200 OK`\r\n\r\n\r\n\r\nAPI Request (Node.js)\r\n\r\n\r\n```\r\n{\r\n hits: [\r\n {\r\n title: 'Pill 2 AWS',\r\n description: 'Create a new AWS project from the command line',\r\n tags: [Array],\r\n objectID: '85344354000',\r\n _highlightResult: [Object]\r\n }\r\n ],\r\n nbHits: 1,\r\n page: 0,\r\n nbPages: 1,\r\n hitsPerPage: 20,\r\n exhaustiveNbHits: true,\r\n exhaustiveTypo: true,\r\n exhaustive: { nbHits: true, typo: true },\r\n query: 'AWS',\r\n params: 'query=AWS',\r\n renderingContent: {},\r\n processingTimeMS: 1,\r\n processingTimingsMS: {\r\n getIdx: { load: [Object], total: 1 },\r\n request: { roundTrip: 30 },\r\n total: 1\r\n },\r\n serverTimeMS: 1\r\n}\r\n```\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],1970,"Algolia search is broken","2023-03-03T12:16:55Z","https://github.com/vuejs/vitepress/issues/1970",0.738127,["Reactive",3115],{},["Set"],["ShallowReactive",3118],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fdTmTGRi1ocTzPD07vzoaRlOPgcCyDGP-gzfZNGeFDHY":-1},"/vuejs/vitepress/2232"]