Allow for filepointers on the /extract_text endpoint.
If the request contains the parameter local_file_path it will be converted to the required headers for tika to access the file.
local_file_path must be the full path of the file, which is inside docker.
Checklists
Pre-Review Checklist
[x] this PR has a meaningful title
[x] this PR links to all relevant github issues that it fixes or partially addresses
[x] if there is no GH issue, please create it. Each PR should have a link to an issue
[x] this PR has a thorough description
[x] Covered the changes with automated tests
[x] Tested the changes locally
[x] Added a label for each target release version (example: v7.13.2, v7.14.0, v8.0.0)
[x] Considered corresponding documentation changes
[x] Contributed any configuration settings changes to the configuration reference
@seanstory I added your change requests, but because they were nits and you approved I will merge for now. If there's anything else you think should be changed, let me know and I will do a follow-up PR.
Related to https://github.com/elastic/enterprise-search-team/issues/5137
Allow for filepointers on the
/extract_text
endpoint. If the request contains the parameterlocal_file_path
it will be converted to the required headers for tika to access the file.local_file_path
must be the full path of the file, which is inside docker.Checklists
Pre-Review Checklist
v7.13.2
,v7.14.0
,v8.0.0
)Related Pull Requests
https://github.com/elastic/connectors-python/pull/1219