diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/searchSchema.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util/searchSchema.js b/src/util/searchSchema.js index a4604dd4..ce0e7a84 100644 --- a/src/util/searchSchema.js +++ b/src/util/searchSchema.js @@ -16,6 +16,16 @@ export function makeSearchIndexes(FlexSearch) { id: "reference", index: ["names"], }), + + groups: new FlexSearch.Document({ + id: "reference", + index: ["name", "description", "category"], + }), + + flashes: new FlexSearch.Document({ + id: "reference", + index: ["name", "tracks", "contributors"], + }), }; return indexes; |