Hi Nick,
On Tue, 22 May 2012, Joerg Ehrlich wrote:
>> Thanks, this looks like a great step forward. It definitely helps to
>> clean up the current metadata usage. But I still have no real idea how
>> to represent structured properties with the current Property/Metadata
>> setup going forward.
>
>The only thing the current setup won't support is Structured Properties.
>(That hasn't changed). That will need more work, but hopefully it'll be easier now we've moved more things to be Property based.
>
>Are you able to come up with a good, simple example for using a structured property? That'd provide us with something to ponder, and to use when testing out possible solutions
Sure, there are plenty of examples, like from
EXIF, which would be easy to map onto a flat property list:
False
0
0
False
False
whereas Face detection would be more complicated:
Face
John Doe
...
Interesting are also properties which offer Language alternatives. They are arrays, but each item is qualified with a language.
For example the title property as defined by IPTC:
title
titel
The moment Tika would start reading more metadata from assets (like XMP) and map more than the current simple stuff, you would have to deal with such structured information. In case of XMP data, Tika could also just pass that through as blob data without parsing it and let the client deal with it, of course :)
Regards
Jörg