Skip to content

Commit

Permalink
Try removing facetFilters
Browse files Browse the repository at this point in the history
  • Loading branch information
forgetso committed Feb 25, 2025
1 parent 652f12e commit a52917d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/starlight/Search.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const docSearchStrings = getDocSearchStrings(Astro);
appId: 'OCM8ZFZOLH',
indexName: 'prosopo_docs_pages',
apiKey: '6945155a60a9005eb656b393296bc9a3',
searchParameters: { facetFilters: [[`lang:${location.pathname.split('/')[1]}`]] },
//searchParameters: { facetFilters: [[`lang:${location.pathname.split('/')[1]}`]] },
insights: true,
getMissingResultsUrl: ({ query }: { query: string }) =>
`https://github.com/prosopo/docs/issues/new?title=Missing+results+for+query+%22${encodeURIComponent(
Expand Down

0 comments on commit a52917d

Please sign in to comment.