Skip to content

Commit

Permalink
reduce member boost
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Sep 9, 2021
1 parent 6cbe2e2 commit 6e3c5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make-search.js
Expand Up @@ -65,7 +65,7 @@ console.log('Generating search index for documentation');
this.ref('id'); // id
this.field('t', { boost: 10 }); // title
this.field('h', { boost: 5 }); // headings
this.field('m', { boost: 5 }); // members (props, methods, events, etc.)
this.field('m', { boost: 2 }); // members (props, methods, events, etc.)
this.field('c'); // content

files.map((file, index) => {
Expand Down

0 comments on commit 6e3c5c0

Please sign in to comment.