You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using version 0.7.31 trying to export document index to file system. Issue #68 seems to think the issue is corrected. If so, im not sure if I need to add anything to export. I am indexing a few million eml files for searching at later time.
function SaveIndex(account) {
let dir = path.join(INDEX_PATH, account);
if (!fs.existsSync(dir)){
fs.mkdirSync(dir);
}
document.export((key, data) => {
fs.writeFileSync(path.join(INDEX_PATH, account,${key}.json), data !== undefined ? data : '');
})
}
The text was updated successfully, but these errors were encountered:
Using version 0.7.31 trying to export document index to file system. Issue #68 seems to think the issue is corrected. If so, im not sure if I need to add anything to export. I am indexing a few million eml files for searching at later time.
function SaveIndex(account) {
let dir = path.join(INDEX_PATH, account);
if (!fs.existsSync(dir)){
fs.mkdirSync(dir);
}
document.export((key, data) => {
fs.writeFileSync(path.join(INDEX_PATH, account,
${key}.json
), data !== undefined ? data : '');})
}
The text was updated successfully, but these errors were encountered: