mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16: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;
|
initialized = false;
|
||||||
|
|
||||||
jobId = context.getJobId();
|
jobId = context.getJobId();
|
||||||
|
IngestModuleAdapter.moduleRefCountIncrement(jobId);
|
||||||
caseHandle = Case.getCurrentCase().getSleuthkitCase();
|
caseHandle = Case.getCurrentCase().getSleuthkitCase();
|
||||||
tikaFormatDetector = new Tika();
|
tikaFormatDetector = new Tika();
|
||||||
ingester = Server.getIngester();
|
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
|
// Remove from the search list and trigger final commit and final search
|
||||||
SearchRunner.getInstance().endJob(jobId);
|
SearchRunner.getInstance().endJob(jobId);
|
||||||
|
|
||||||
postIndexSummary();
|
if (IngestModuleAdapter.moduleRefCountDecrementAndGet(jobId) == 0) {
|
||||||
|
postIndexSummary();
|
||||||
|
}
|
||||||
|
|
||||||
//log number of files / chunks in index
|
//log number of files / chunks in index
|
||||||
//signal a potential change in number of text_ingested files
|
//signal a potential change in number of text_ingested files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user