org.eclipse.smila.search.plugin
Interface ITemplateAccess
- All Known Implementing Classes:
- TemplateAccess
public interface ITemplateAccess
Interface for applying template logic.
- Author:
- August Georg Schmidt (BROX)
applyTemplate
IQueryExpression applyTemplate(DQuery dQuery,
DTemplate dTemplate,
IndexConnection ic)
throws TemplateException,
NodeTransformerException,
IndexException
- Parameters:
dQuery - Simple search query expression.dTemplate - Template.ic - Index connection.
- Returns:
- Advanced search.
- Throws:
NodeTransformerException - Unable to apply node transformers.
TemplateException - Invalid search template.
IndexException - Unable to apply transformers.
applyFieldTemplate
ITerm applyFieldTemplate(DField dField,
DFieldTemplate dTemplate,
IndexConnection ic)
throws TemplateException,
NodeTransformerException,
IndexException
- Apply field template.
- Parameters:
dField - Field from simple search.dTemplate - Template.ic - Index connection.
- Returns:
- Subquery expression as ITerm.
- Throws:
NodeTransformerException - Unable to apply node transformers.
TemplateException - Invalid search template.
IndexException - Unable to apply transformers.