2021-01-22 17:41:11 +00:00
|
|
|
const SearchEngine = require('../services/searchengine/SearchEngine').default;
|
2020-08-08 04:43:21 +05:30
|
|
|
|
|
|
|
const script = {};
|
|
|
|
|
|
|
|
script.exec = async function() {
|
|
|
|
await SearchEngine.instance().rebuildIndex();
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = script;
|