Skip to content

Commit

Permalink
refactor: remove unused excerpt attribute in snippet setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbrgl committed Mar 7, 2025
1 parent bae7e3e commit d03ad8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baker/algolia/configureAlgolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const configureAlgolia = async () => {
"unordered(content)",
],
customRanking: ["desc(score)", "desc(importance)"],
attributesToSnippet: ["excerpt:20", "content:20"],
attributesToSnippet: ["content:20"],
attributeForDistinct: "slug",
attributesForFaceting: [
"filterOnly(slug)",
Expand Down

0 comments on commit d03ad8b

Please sign in to comment.