mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Just do one summary postMessage for KeywordSearch module.
This commit is contained in:
parent
42e83d3b23
commit
000a70a7d9
@ -125,6 +125,7 @@ public final class KeywordSearchIngestModule extends IngestModuleAdapter impleme
|
||||
initialized = false;
|
||||
|
||||
jobId = context.getJobId();
|
||||
IngestModuleAdapter.moduleRefCountIncrement(jobId);
|
||||
caseHandle = Case.getCurrentCase().getSleuthkitCase();
|
||||
tikaFormatDetector = new Tika();
|
||||
ingester = Server.getIngester();
|
||||
@ -251,7 +252,9 @@ public final class KeywordSearchIngestModule extends IngestModuleAdapter impleme
|
||||
// Remove from the search list and trigger final commit and final search
|
||||
SearchRunner.getInstance().endJob(jobId);
|
||||
|
||||
postIndexSummary();
|
||||
if (IngestModuleAdapter.moduleRefCountDecrementAndGet(jobId) == 0) {
|
||||
postIndexSummary();
|
||||
}
|
||||
|
||||
//log number of files / chunks in index
|
||||
//signal a potential change in number of text_ingested files
|
||||
|
Loading…
x
Reference in New Issue
Block a user