Autopsy  4.4
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.keywordsearch.SolrSearchService Class Reference

Inherits org.sleuthkit.autopsy.keywordsearchservice.KeywordSearchService, and org.sleuthkit.autopsy.appservices.AutopsyService.

Public Member Functions

void close () throws IOException
 
void closeCaseResources (CaseContext context) throws AutopsyServiceException
 
void deleteTextIndex (CaseMetadata metadata) throws KeywordSearchServiceException
 
String getServiceName ()
 
void indexArtifact (BlackboardArtifact artifact) throws TskCoreException
 
void openCaseResources (CaseContext context) throws AutopsyServiceException
 
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 Logger logger = Logger.getLogger(SolrSearchService.class.getName())
 
static final String SERVER_REFUSED_CONNECTION = "server refused connection"
 

Detailed Description

An implementation of the KeywordSearchService interface that uses Solr for text indexing and search.

Definition at line 59 of file SolrSearchService.java.

Member Function Documentation

void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.close ( ) throws IOException

Definition at line 189 of file SolrSearchService.java.

void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.closeCaseResources ( CaseContext  context) throws AutopsyServiceException
void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.deleteTextIndex ( CaseMetadata  metadata) throws KeywordSearchServiceException
String org.sleuthkit.autopsy.keywordsearch.SolrSearchService.getServiceName ( )

Gets the service name.

Returns
The service name.

Implements org.sleuthkit.autopsy.appservices.AutopsyService.

Definition at line 193 of file SolrSearchService.java.

void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.indexArtifact ( BlackboardArtifact  artifact) throws TskCoreException

Adds an artifact to the keyword search text index as a concantenation of all of its attributes.

Parameters
artifactThe artifact to index.
Exceptions
org.sleuthkit.datamodel.TskCoreException

Implements org.sleuthkit.autopsy.keywordsearchservice.KeywordSearchService.

Definition at line 75 of file SolrSearchService.java.

void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.openCaseResources ( CaseContext  context) throws AutopsyServiceException
void org.sleuthkit.autopsy.keywordsearch.SolrSearchService.tryConnect ( String  host,
int  port 
) throws KeywordSearchServiceException

Tries to connect to the keyword search service.

Parameters
hostThe hostname or IP address of the service.
portThe port used by the service.
Exceptions
KeywordSearchServiceExceptionif cannot connect.

Implements org.sleuthkit.autopsy.keywordsearchservice.KeywordSearchService.

Definition at line 104 of file SolrSearchService.java.

References org.sleuthkit.autopsy.keywordsearch.KeywordSearch.getServer().

Member Data Documentation

final String org.sleuthkit.autopsy.keywordsearch.SolrSearchService.BAD_IP_ADDRESS_FORMAT = "ioexception occurred when talking to server"
staticprivate

Definition at line 61 of file SolrSearchService.java.

final int org.sleuthkit.autopsy.keywordsearch.SolrSearchService.IS_REACHABLE_TIMEOUT_MS = 1000
staticprivate

Definition at line 63 of file SolrSearchService.java.

final Logger org.sleuthkit.autopsy.keywordsearch.SolrSearchService.logger = Logger.getLogger(SolrSearchService.class.getName())
staticprivate

Definition at line 64 of file SolrSearchService.java.

final String org.sleuthkit.autopsy.keywordsearch.SolrSearchService.SERVER_REFUSED_CONNECTION = "server refused connection"
staticprivate

Definition at line 62 of file SolrSearchService.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2016 Basis Technology. Generated on: Tue Jun 13 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.