Schedule updating of glosses collection in Node
Closed this issue · 1 comments
johnjcamilleri commented
The glosses
collection is an index collection, generated from lexemes
, which is used when searching via gloss.
Currently it is created/updated manually via the make-glosses-collection
script and expected to scheduled outside of the app.
This should be automated and scheduled directly from within the app, using for example node-cron or a similar package.
Efforts should also be made to:
- Make the script efficient/fast
- Remove outdated glosses. Currently things are only ever added, which could lead to incorrect search results, but this is seen as less critical.
johnjcamilleri commented
Done as of e90bb89