2024-01-05 16:15:47 +02:00
|
|
|
const SearchEngine = require('../services/search/SearchEngine').default;
|
2021-04-29 16:27:38 +02:00
|
|
|
|
|
|
|
const script = {};
|
|
|
|
|
|
|
|
script.exec = async function() {
|
|
|
|
await SearchEngine.instance().rebuildIndex();
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = script;
|