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