Skip to content

Commit

Permalink
enhance(algolia): add data, explorer as optional words
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Jul 1, 2024
1 parent 73d279e commit 3e3fa21
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion baker/algolia/configureAlgolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,13 @@ export const configureAlgolia = async () => {
attributeForDistinct: "explorerSlug",
distinct: 4,
minWordSizefor1Typo: 6,
optionalWords: allCountryNamesAndVariants,
optionalWords: [
"data",
"explorer",
"explore",
"explorers",
...allCountryNamesAndVariants,
],
})

const synonyms = [
Expand Down

0 comments on commit 3e3fa21

Please sign in to comment.