Skip to content

Commit

Permalink
perf(custom): 增大搜索结果的值
Browse files Browse the repository at this point in the history
  • Loading branch information
emmmmmmmm committed Oct 15, 2023
1 parent a0cf222 commit 5dece80
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,31 +52,11 @@ export default defineConfig({
apiKey: '62038b1e84670a59365b0dfc75595345',
indexName: 'blogs',
maxResultsPerGroup: 100,
locales: {
'zh-cn': {
searchParameters: {
page: 100,
hitsPerpage: 100,
}
},
'zh': {
searchParameters: {
page: 100,
hitsPerpage: 100,
}
},
'en-us': {
searchParameters: {
page: 100,
hitsPerpage: 100,
}
},
'en': {
searchParameters: {
page: 100,
hitsPerpage: 100,
}
}
searchParameters: {
page: 100,
hitsPerpage: 100,
maxValuesPerFacet: 100,
maxFacetHits: 100,
},
placeholder: '搜索文档',
translations: {
Expand Down

0 comments on commit 5dece80

Please sign in to comment.