SMILA (incubation) API documentation

org.eclipse.smila.processing
Interface SearchProcessingService

All Known Implementing Classes:
HighlightingService, LuceneSearchService

public interface SearchProcessingService

Interface of search services that can process SearchMessages instead of ProcessorMessages. A service that can process both kinds of messages should implement also ProcessingService.

Author:
jschumacher

Field Summary
static java.lang.String PROPERTY_NAME
          Property of OSGi services specifying the name of the service.
 
Method Summary
 SearchMessage process(Blackboard blackboard, SearchMessage message)
          process records on Blackboard service.
 

Field Detail

PROPERTY_NAME

static final java.lang.String PROPERTY_NAME
Property of OSGi services specifying the name of the service. The workflow engine needs this name to determine which service to invoke from the workflow.

See Also:
Constant Field Values
Method Detail

process

SearchMessage process(Blackboard blackboard,
                      SearchMessage message)
                      throws ProcessingException
process records on Blackboard service.

Parameters:
blackboard - Blackboard service managing the records.
message - Ids of query record and records to process.
Returns:
Ids of query record and result records.
Throws:
ProcessingException - error during processing.

SMILA (incubation) API documentation