Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support metadata files related to binary files #1659

Open
dadoonet opened this issue May 23, 2023 · 1 comment
Open

Support metadata files related to binary files #1659

dadoonet opened this issue May 23, 2023 · 1 comment
Labels
feature_request for feature request

Comments

@dadoonet
Copy link
Owner

This is coming from this discussion: https://stackoverflow.com/a/76313247/1432281

We should support the indexation of specific metadata per file, by checking if a file named foo.pdf.json for example exists in a side folder with all the metadata files in it...

So we would define in the settings a new metadata_dir setting in which we would read the same virtual path and append .json.

So if we index a file named /path/to/relative/foo.pdf from the dir /path/to and have defined metadata_dir: /metadata where we have a file named /metadata/relative/foo.pdf.json, we will read that json content and merge it with the structure generated by FSCrawler.

That will offer a lot of flexibility for people who want to add information on each file. It could help to solve some user/group access information for example...

@dadoonet dadoonet added the feature_request for feature request label May 23, 2023
@nemo1991
Copy link

good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request for feature request
Projects
None yet
Development

No branches or pull requests

2 participants