Mindbreeze GmbH, A-4020 Linz, 2021.
All rights reserved. All hardware and software names used are brand names and/or trademarks of their respective manufacturers.
These documents are strictly confidential. The submission and presentation of these documents does not confer any rights to our software, our services and service outcomes, or any other protected rights. The dissemination, publication, or reproduction hereof is prohibited.
For ease of readability, gender differentiation has been waived. Corresponding terms and definitions apply within the meaning and intent of the equal treatment principle for both sexes.
The Query Expression Label Transformer service allows the user to configure transformations on labeled query expressions. These transformations can be simple label rewrites or transforming the query expression in a subquery with configured references.
The Query Transformation Service can be configured with adding a service of type QueryExprLabelTransformer.
The Service has to be assigned a free port for bind port.
The transformations for query expressions with given label can be set up with adding Labeled Transformation elements.
The labeled transformations have the following attributes:
Label of matching labeled query expression that will be transformed by this item.
Destination Query Label
The label of the generated labeled query.
Transform to Subquery
If checked, the matching labeled expression will be transformed in a subquery. The subquery has the following components:
Expr: a labeled expression with “Destination Query Label” as label and the original constraint. If a “Common Query Constraint” is defined, this will be combined with the labeled expression using an AND operation
RestrictToPropertyExpr: the set of configured references in “Collect Documents Via References (SubQuery)”
If not enabled the label of the matched expression is changed only to the configured “Destination Query Label”
Collect Documents Via References (SubQuery)
List of references separated by “;”. If “Transform to Subquery” is enabled and the transformation generates a subquery expression, the references are added to the “RestrictToProperty” statement of the subquery.
Common Subquery Constraint
If this constraint is configured, this will be combined with the labeled expression of the subquery
Match Case Insensitive
If configured the matching of “Source Query Label” is case insensitive.
The Query Expression Label Transformer service can be enabled for a given query service by adding a reference to the service in the Query Transformation Services section in the Index service configuration:
If the “transform_nonexpandable” property is set to “true” all non-expandable queries from the search request will be transformed using this plugin.
Note that to be able to use subqueries in the index, the “Enable SubQuery Expression Transformation” should be set to “Enabled”.