Re-index if search engine files get deleted
This commit is contained in:
parent
c598576683
commit
0b42b8ee49
9 changed files with 95 additions and 82 deletions
|
|
@ -31,8 +31,7 @@ namespace LibationWinForm
|
|||
public async Task DoMainWorkAsync()
|
||||
{
|
||||
var callback = new Login.WinformResponder();
|
||||
var indexer = new LibraryIndexer();
|
||||
(TotalBooksProcessed, NewBooksAdded) = await indexer.IndexAsync(callback);
|
||||
(TotalBooksProcessed, NewBooksAdded) = await LibraryCommands.IndexLibraryAsync(callback);
|
||||
|
||||
successMessages.Add($"Total processed: {TotalBooksProcessed}");
|
||||
successMessages.Add($"New: {NewBooksAdded}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue