Autopsy
4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.keywordsearchservice.KeywordSearchService.
Public Member Functions | |
void | close () throws IOException |
void | indexArtifact (BlackboardArtifact artifact) throws TskCoreException |
void | tryConnect (String host, int port) throws KeywordSearchServiceException |
Static Private Attributes | |
static final String | BAD_IP_ADDRESS_FORMAT = "ioexception occurred when talking to server" |
static final int | IS_REACHABLE_TIMEOUT_MS = 1000 |
static final String | SERVER_REFUSED_CONNECTION = "server refused connection" |
An implementation of the KeywordSearchService interface that uses Solr for text indexing and search.
Definition at line 46 of file SolrSearchService.java.
void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.close | ( | ) | throws IOException |
Definition at line 227 of file SolrSearchService.java.
void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.indexArtifact | ( | BlackboardArtifact | artifact | ) | throws TskCoreException |
Takes a Blackboard artifact and adds all of its attributes to the keyword search index.
artifact |
org.sleuthkit.datamodel.TskCoreException |
Implements org.sleuthkit.autopsy.keywordsearchservice.KeywordSearchService.
Definition at line 53 of file SolrSearchService.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), and org.sleuthkit.autopsy.datamodel.ContentUtils.getStringTime().
void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.tryConnect | ( | String | host, |
int | port | ||
) | throws KeywordSearchServiceException |
Checks if we can communicate with Solr using the passed-in host and port. Closes the connection upon exit. Throws if it cannot communicate with Solr.
When issues occur, it attempts to diagnose them by looking at the exception messages, returning the appropriate user-facing text for the exception received. This method expects the Exceptions messages to be in English and compares against English text.
host | the remote hostname or IP address of the Solr server |
port | the remote port for Solr |
Implements org.sleuthkit.autopsy.keywordsearchservice.KeywordSearchService.
Definition at line 186 of file SolrSearchService.java.
References org.sleuthkit.autopsy.keywordsearch.KeywordSearch.getServer().
|
staticprivate |
Definition at line 48 of file SolrSearchService.java.
|
staticprivate |
Definition at line 50 of file SolrSearchService.java.
|
staticprivate |
Definition at line 49 of file SolrSearchService.java.
Copyright © 2012-2016 Basis Technology. Generated on: Tue Oct 25 2016
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.