|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LuceneSearchService
Lucene Search Service interface.
| 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 interface org.eclipse.smila.lucene.LuceneService |
|---|
BUNDLE_NAME, CONFIG_FILE_MAPPINGS, ID_FIELD |
| Method Summary | |
|---|---|
void |
search(Blackboard blackboard,
java.lang.String requestId,
QueryParameterAccessor parameters)
Creates a query and executes the query on the lucene index. |
| Field Detail |
|---|
static final java.lang.String SEARCH_ANNOTATION_QUERY_ATTRIBUTE
static final java.lang.String SEARCH_ANNOTATION_TEMPLATE_SELECTOR_NAME
static final java.lang.String RANKING_OPERATOR
static final java.lang.String RANKING_TOLERANCE
static final java.lang.String MAPPINGS_ATTRIBUTES
static final java.lang.String MAPPINGS_ATTACHMENTS
static final java.lang.String DEFAULT_DATE_FORMAT
static final java.lang.String DEFAULT_DATE_TIME_FORMAT
| Method Detail |
|---|
void search(Blackboard blackboard,
java.lang.String requestId,
QueryParameterAccessor parameters)
throws BlackboardAccessException,
IndexException,
DataDictionaryException,
NodeTransformerException,
ProcessingException
blackboard - the BlackBoardServicerequestId - the record ID of the search request.parameters - query parameters
BlackboardAccessException - if any error occurs
IndexException - if any error occurs
DataDictionaryException - if any error occurs
NodeTransformerException - if any error occurs
ProcessingException - if parameter SEARCH_ANNOTATION_QUERY_ATTRIBUTE is not set for simple query or any other error occurs
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||