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

Indexing: Index PDF files #70

Open
m-i-l opened this issue Sep 10, 2022 · 0 comments
Open

Indexing: Index PDF files #70

m-i-l opened this issue Sep 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@m-i-l
Copy link
Contributor

m-i-l commented Sep 10, 2022

There are a couple of sites that people have mentioned which consist primarily of PDF files:

Unfortunately searchmysite.net doesn't currently index PDF files. In fact, parse_item in search_my_site_script.py does a isinstance(response, TextResponse) to ensure it only indexes text content to exclude all binary files (i.e. exclude images etc. not just PDF files). This would have to be updated, and of course there would need to be a way to extract text from PDF files for indexing.

Might want to have a look at the Python bindings in https://cwiki.apache.org/confluence/display/TIKA/API+Bindings+for+Tika or something like that.

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

No branches or pull requests

1 participant