Class FieldTranslationMapping
java.lang.Object
com.lucidworks.apollo.pipeline.index.config.transform.FieldTranslationMapping
A Field Mapping Rule for translating fields.
The following operations are supported:
1. Copy: with this rule all values on the given source field will be copied over to the given target field.
The source field will be kept on the document.
2. Move: with this rule all values on the given source field will be moved over to the given target field.
The source field will be removed from the document.
The default operation for this rule is copy.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldTranslationMapping(String source, String target, FieldTranslationMapping.Operation operation) -
Method Summary
-
Field Details
-
SOURCE_FIELD
- See Also:
-
TARGET_FIELD
- See Also:
-
FIELD_OPERATION
- See Also:
-
-
Constructor Details
-
FieldTranslationMapping
public FieldTranslationMapping(String source, String target, FieldTranslationMapping.Operation operation) throws FieldMappingException - Throws:
FieldMappingException
-
-
Method Details