tballison commented on PR #3451:
URL: https://github.com/apache/tika/pull/3451#issuecomment-6476364954

   Y, dates and times are a mess. We do have the date normalizing filter that 
slaps a user configured timezone on values that don't have them (some image 
metadata???) so that strict consumers don't complain.
   
   Can you tell me how value would work?
   
   ```
   1. Value: swap our Values for protobuf's built-in type in the metadata map:
     message ParsedDocument {
       string embedded_path = 1;
       string content = 2;
       map<string, google.protobuf.Value> metadata = 3;   // or 
google.protobuf.Struct
     }
     "xmpTPg:NPages":   { number_value: 12 }
     "dc:title":        { string_value: "Report" }          // or list_value, 
if multi-valued
     "tk:parsed-by":    { list_value: { values: [{string_value:"a"}, 
{string_value:"b"}] } }
     "dcterms:created": { string_value: "2019-06-01T12:00:00Z" }   // no 
timestamp type
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to