From b95009bc15e8e103d6f1365a44f8cfbb9887cc89 Mon Sep 17 00:00:00 2001 From: Kelly Kelly Date: Fri, 26 Jul 2019 10:41:32 -0400 Subject: [PATCH] deprecated indexArtifact --- .../keywordsearchservice/KeywordSearchService.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/keywordsearchservice/KeywordSearchService.java b/Core/src/org/sleuthkit/autopsy/keywordsearchservice/KeywordSearchService.java index 1a9e947b76..733a131239 100644 --- a/Core/src/org/sleuthkit/autopsy/keywordsearchservice/KeywordSearchService.java +++ b/Core/src/org/sleuthkit/autopsy/keywordsearchservice/KeywordSearchService.java @@ -48,13 +48,19 @@ public interface KeywordSearchService extends Closeable { * all of its attributes. * * @param artifact The artifact to index. + * + * @deprecated postArtifact org.sleuthkit.autopsy.datamodel.Blackboard will + * take care of this functionality at ingest * * @throws org.sleuthkit.datamodel.TskCoreException */ + @Deprecated public void indexArtifact(BlackboardArtifact artifact) throws TskCoreException; /** - * Add the given Content object to the text index. + * Add the given Content object to the text index. This message should only + * be used in atypical cases, such as indexing a report. Artifacts are indexed + * when postArtifact called and files are indexed during ingest. * * @param content The content to index. *