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

bug regarding the mapping of file paths? #456

Open
josefkarlkraus opened this issue Dec 9, 2022 · 1 comment
Open

bug regarding the mapping of file paths? #456

josefkarlkraus opened this issue Dec 9, 2022 · 1 comment

Comments

@josefkarlkraus
Copy link

Hey,

first of all, amazing piece of work that you've done!
While indexing our server we've probably encountered a bug regarding the mapping of file paths:

Our current mapping ist defind in /etc/opensemanticsearch/connector-files, with the aim to make search results directly accessible through a apache server:
config['mappings'] = { "/mnt/server/": "http://192.168.2.20/server/" }
Additionally we made a
ln -s /mnt/server /var/www/html/server
This works great so far for nearly every file.

But for any file (like .pdf) inside E-Mails (.msg) or E-Mail archives (*.pst), which means for every E-Mail attachment, the mapping results in:
http://192.168.2.20/mnt/server/...
instead of:
http://192.168.2.20/server/...

So, the question is, did we make any mistake regarding the configuration or is there a bug regarding attachments?

Best regards
Josef

@josefkarlkraus josefkarlkraus closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2022
@josefkarlkraus
Copy link
Author

PS: the same mapping bug occurs for example with jpg-files inside xls-files

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

No branches or pull requests

1 participant