",[],4802,"配置完 algolia 搜索,检索不出任何内容","2025-06-22T01:00:42Z","https://github.com/vuejs/vitepress/issues/4802",0.71790206,{"description":3062,"labels":3063,"number":3064,"owner":3026,"repository":3027,"state":3028,"title":3065,"updated_at":3066,"url":3067,"score":3068},"### 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.7212124,{"description":3070,"labels":3071,"number":3072,"owner":3026,"repository":3027,"state":3028,"title":3073,"updated_at":3074,"url":3075,"score":3076},"How to use global search without algolia?\r\nhttps://vitepress.vuejs.org/guide/theme-search\r\nThis link has no description",[],1444,"How to use global search without algolia?","2023-01-21T14:25:13Z","https://github.com/vuejs/vitepress/issues/1444",0.7213525,{"description":3078,"labels":3079,"number":3083,"owner":3026,"repository":3027,"state":3028,"title":3084,"updated_at":3085,"url":3086,"score":3087},"### Describe the bug\r\n\r\nRepeated execution of the go method in `src/client/app/router.ts` and `src/client/theme-default/components/VPAlgoliaSearchBox.vue` when clicking on the jump link in the Algolia search box results in the need to click back key twice to return to the before page.\r\n\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://vitepress.vuejs.org/\r\n\r\n### Expected behavior\r\n\r\nClick back key once to return to the before page.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Windows 10\r\n CPU: Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz\r\n Memory: 15.9 GB\r\n Binaries:\r\n Node: 16.10.0\r\n Yarn: 1.22.17\r\n npm: 7.24.0\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (103.0.5060.114)\r\n Internet Explorer: 11.0.22000.120\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\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.",[3080],{"name":3081,"color":3082},"theme","0754FB",995,"Repeated execution of the router.go method when clicking on the jump link in the Algolia search box","2023-01-21T14:29:59Z","https://github.com/vuejs/vitepress/issues/995",0.72423387,{"description":3089,"labels":3090,"number":3094,"owner":3026,"repository":3027,"state":3028,"title":3095,"updated_at":3096,"url":3097,"score":3098},"### Describe the bug\r\n\r\nThe search button and dialog should use semantic markup: roles and aria attributes\r\n\r\n### Reproduction\r\n\r\nhttps://unocss.dev/\r\n\r\n### Expected behavior\r\n\r\nJust check Algolia search button and dialog on VP docs.\r\n\r\n### System Info\r\n\r\n```shell\r\nNA\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\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.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3091],{"name":3092,"color":3093},"a11y","fbca04",2232,"Local search: review html markup, should be semantic","2023-06-18T00:04:56Z","https://github.com/vuejs/vitepress/issues/2232",0.7251892,{"description":3100,"labels":3101,"number":3103,"owner":3026,"repository":3027,"state":3028,"title":3104,"updated_at":3105,"url":3106,"score":3107},"### 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.",[3102],{"name":3081,"color":3082},614," Algolia Search : transformItems not work","2023-01-21T14:16:55Z","https://github.com/vuejs/vitepress/issues/614",0.7326972,{"description":3109,"labels":3110,"number":3114,"owner":3026,"repository":3027,"state":3028,"title":3115,"updated_at":3116,"url":3117,"score":3118},"**Describe the bug**\r\nThe Guide's [Configuration page] refers to [https://vitepress.vuejs.org/config/](https://vitepress.vuejs.org/config/) but that page gives a 404. \r\n\r\nThis should likely be `https://vitepress.vuejs.org/config/basics` which can be reached from the top navigation bar.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n- visit https://vitepress.vuejs.org/guide/configuration.html\r\n\r\n**Expected behavior**\r\n\r\nI would have done a PR but not sure, whether the URL without `basics` is expected to work (different from changing the URL itself by appending that string).\r\n\r\n**System Info**\r\n- vitepress version: online docs\r\n\r\n**Additional context**\r\n",[3111],{"name":3112,"color":3113},"docs","0075ca",160,"Config page has a missing link","2023-01-21T16:24:13Z","https://github.com/vuejs/vitepress/issues/160",0.7376265,["Reactive",3120],{},["Set"],["ShallowReactive",3123],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fKW43M3eNOLwLCsFZCg8JAgMLnkE15BJveSTg2gbHmOU":-1},"/vuejs/vitepress/2944"]