Fix indexing of synced full-text content
This commit is contained in:
parent
b077e1cd8c
commit
21a3bf8aa5
|
@ -958,7 +958,7 @@ Zotero.Fulltext = Zotero.FullText = new function(){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var itemID = item.id;
|
var itemID = item.id;
|
||||||
var currentVersion = this.getItemVersion(itemID)
|
var currentVersion = yield this.getItemVersion(itemID)
|
||||||
|
|
||||||
var processorCacheFile = this.getItemProcessorCacheFile(item);
|
var processorCacheFile = this.getItemProcessorCacheFile(item);
|
||||||
var itemCacheFile = this.getItemCacheFile(item);
|
var itemCacheFile = this.getItemCacheFile(item);
|
||||||
|
|
|
@ -1781,7 +1781,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
||||||
yield Zotero.DB.executeTransaction(function* () {
|
yield Zotero.DB.executeTransaction(function* () {
|
||||||
return Zotero.Tags.purge();
|
return Zotero.Tags.purge();
|
||||||
});
|
});
|
||||||
Zotero.Fulltext.purgeUnusedWords();
|
yield Zotero.Fulltext.purgeUnusedWords();
|
||||||
yield Zotero.DB.executeTransaction(function* () {
|
yield Zotero.DB.executeTransaction(function* () {
|
||||||
return Zotero.Items.purge();
|
return Zotero.Items.purge();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user