Ray Gauss II created TIKA-927:
---------------------------------

             Summary: Composite Properties
                 Key: TIKA-927
                 URL: https://issues.apache.org/jira/browse/TIKA-927
             Project: Tika
          Issue Type: Improvement
          Components: metadata
    Affects Versions: 1.1
            Reporter: Ray Gauss II
         Attachments: tika-composite-properties-core.diff

A composite property type would be useful for maintaining backwards 
compatibility when migrating old properties or aliasing a single primary 
property to several secondary fields.

To achieve this the Property class could allow for defining a composite type 
which aliases a primary Property and an optional list of 
secondaryExtractProperties which can be used to set additional metadata 
properties with the same value as the primary.

The name of the composite property would be taken from its primary property.

The primary and secondary children of a composite property must not be 
composite properties themselves or a PropertyTypeException will be thrown.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to