Skip to content

Commit 04c7938

Browse files
author
Luke Bowerman
authored
docs: Narrow web site search to title-only (#1920)
1 parent 7dc4122 commit 04c7938

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

www/gatsby-config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ module.exports = {
8484
options: {
8585
name: 'pages',
8686
engine: 'flexsearch',
87-
88-
// engineOptions: 'speed',
87+
// engineOptions: {
88+
// profile: 'score',
89+
// },
8990

9091
// GraphQL query used to fetch all data for the search index. This is
9192
// required.
@@ -127,7 +128,6 @@ module.exports = {
127128
id: node.id,
128129
slug: node.slug,
129130
title: node.frontmatter.title,
130-
body: node.rawBody,
131131
})),
132132
},
133133
},

0 commit comments

Comments
 (0)