Skip to content

Commit

Permalink
feat: search group limit
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchanglong committed Jun 5, 2024
1 parent 01b4f70 commit 79170e0
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@ export const enConfig = async () => ({
root: { label: 'English', lang: 'en-US', link: '/' },
zh: { label: '简体中文', lang: 'zh-CN', link: `${websiteMap['zh']}${base}` },
},
themeConfig: {search: {
options: {
appId: 'SRGB68Y6CW',
apiKey: 'eacb3d367f08bb200e8dbfc2470984d8',
indexName: 'greptime',
searchParameters: {
facetFilters: [`version:${CURRENT_VERSION}`]
themeConfig: {
search: {
options: {
appId: 'SRGB68Y6CW',
apiKey: 'eacb3d367f08bb200e8dbfc2470984d8',
indexName: 'greptime',
searchParameters: {
facetFilters: [`version:${CURRENT_VERSION}`],
},
maxResultsPerGroup: 7,
},
},
},
notFound: {
quote: 'Unfortunately, the content you are looking for is not found.',
linkText: 'Take me to homepage',
Expand Down

0 comments on commit 79170e0

Please sign in to comment.