|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.lucene.LuceneServie
org.eclipse.smila.lucene.LuceneSearchService
public class LuceneSearchService
Lucene Search Service.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_DATE_FORMAT
The default date format to use. |
static java.lang.String |
DEFAULT_DATE_TIME_FORMAT
The default date time format to use. |
static java.lang.String |
MAPPINGS_ATTACHMENTS
Name of the attachments mapping key. |
static java.lang.String |
MAPPINGS_ATTRIBUTES
Name of the attributes mapping key. |
static java.lang.String |
RANKING_OPERATOR
Constant for the SearchAnnotation named value Operator of Annotation ranking. |
static java.lang.String |
RANKING_TOLERANCE
Constant for the SearchAnnotation named value Tolerance of Annotation ranking. |
static java.lang.String |
SEARCH_ANNOTATION_QUERY_ATTRIBUTE
Constant for the SearchAnnotation QueryAttribut. |
static java.lang.String |
SEARCH_ANNOTATION_TEMPLATE_SELECTOR_NAME
Constant for the SearchAnnotation TemplateSelectorName. |
| Fields inherited from class org.eclipse.smila.lucene.LuceneServie |
|---|
BUNDLE_NAME, CONFIG_FILE_MAPPINGS, ID_FIELD, INDEX_NAME |
| Fields inherited from interface org.eclipse.smila.processing.SearchProcessingService |
|---|
PROPERTY_NAME |
| Constructor Summary | |
|---|---|
LuceneSearchService()
|
|
| Method Summary | |
|---|---|
protected void |
activate(ComponentContext context)
DS activate method. |
protected void |
deactivate(ComponentContext context)
DS deactivate method. |
SearchMessage |
process(Blackboard blackboard,
SearchMessage message)
process records on Blackboard service. |
| Methods inherited from class org.eclipse.smila.lucene.LuceneServie |
|---|
getMappings, loadMappings, unloadMappings |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SEARCH_ANNOTATION_QUERY_ATTRIBUTE
public static final java.lang.String SEARCH_ANNOTATION_TEMPLATE_SELECTOR_NAME
public static final java.lang.String RANKING_OPERATOR
public static final java.lang.String RANKING_TOLERANCE
public static final java.lang.String MAPPINGS_ATTRIBUTES
public static final java.lang.String MAPPINGS_ATTACHMENTS
public static final java.lang.String DEFAULT_DATE_FORMAT
public static final java.lang.String DEFAULT_DATE_TIME_FORMAT
| Constructor Detail |
|---|
public LuceneSearchService()
| Method Detail |
|---|
protected void activate(ComponentContext context)
throws java.lang.Exception
context - ComponentContext
java.lang.Exception - if any error occurs
protected void deactivate(ComponentContext context)
throws java.lang.Exception
context - the ComponentContext
java.lang.Exception - if any error occurs
public SearchMessage process(Blackboard blackboard,
SearchMessage message)
throws ProcessingException
process in interface SearchProcessingServiceblackboard - Blackboard service managing the records.message - Ids of query record and records to process.
ProcessingException - error during processing.SearchProcessingService.process(org.eclipse.smila.blackboard.Blackboard,
org.eclipse.smila.processing.SearchMessage)
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||