Open VRciF opened 2 years ago
I'm very sorry that I missed your issue... w00t! 2 years later...
Can this be changed somehow? E.g. provide some custom config to fscrawler (or Tika) describing the custom tags?
I think that's actually an issue on Tika side. But may be this has been fixed in the meantime. I'm not sure if you are still using FSCrawler but if you do, could you test it again with the latest 2.10-SNAPSHOT build?
Describe the bug
As requested by @dadoonet here I open an issue with my question about being unable to index custom metadata.
My goal is to add/modify file metadata tags and have
fscrawler
index them.For example I think about perceptual hashes (computed by https://github.com/lunardog/imagehash-cli) or faces recognized in an image including coordinates and name of the multiple persons and such.
To create a custom tag, one need to provide a config file (e.g. named
exif.hash.conf
) toexiftool
describing the tag key's like so:To add metadata you use
exiftool -config exif.hash.conf -xmp-xmp:Test=somesteststring test.jpg
Below is an example
test.jpg
image which contains the following additional xmp tags:Note: The hashes are weird, because it is just a single color test image.
The tags can be listed with the command
exiftool test.jpg
.If I run
fscrawler
withfscrawler --loop 1 --config_dir /jobs/images/config --restart images
only the most common tags are indexed, but not my custom metadata.fscrawler
(orTika
) describing the custom tags?exiftool
is somehow the wrong tool for this? Is there any other tool to create custom tags which get indexed byfscrawler
?Job Settings
Logs
No special logs available. The requested metadata is just not indexed. No error, warning or anything like that. Basically just ignored.
Expected behavior
The mentioned custom metadata should be indexed by fscrawler at least in
meta.raw
.Versions:
Attachment