19 package org.sleuthkit.autopsy.keywordsearch;
21 import java.io.Reader;
22 import java.util.logging.Level;
56 Ingester ingester = Ingester.getDefault();
57 Reader blackboardExtractedTextReader = KeywordSearchUtil.getReader(result);
58 String sourceName = result.getDisplayName() +
"_" + result.getArtifactID();
59 ingester.indexMetaDataOnly(result, sourceName);
60 ingester.search(blackboardExtractedTextReader,
61 result.getArtifactID(),
64 settings.isIndexToSolrEnabled(),
65 settings.getNamesOfEnabledKeyWordLists());
67 }
catch (Exception ex) {
68 LOGGER.log(Level.SEVERE, String.format(
"Error indexing analysis result '%s' (job ID=%d)", result, context.
getJobId()), ex);
static final int TSK_KEYWORD_HIT_TYPE_ID
void startUp(IngestJobContext context)
final KeywordSearchJobSettings settings
synchronized static Logger getLogger(String name)
IngestModule.ProcessResult process(AnalysisResult result)
static final Logger LOGGER