-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove support for Visio and potm files
* Parse a non supported document using `mapper-attachments` * If Tika is not able to parse the document because of a missing class (we are not importing all jars needed by Tika), Tika throws a Throwable which is not catch. This commit removes support for Visio and POTM office files. The good news is that it does not kill the node anymore and allows to extract the text which is in the Office document even if we have a Visio content (which is not extracted anymore). Related to #22077 and #22079 for mapper-attachments plugin
- Loading branch information
Showing
7 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+97.5 KB
...est/resources/org/elasticsearch/index/mapper/attachment/test/sample-files/issue-22077.doc
Binary file not shown.
Binary file added
BIN
+80.8 KB
...st/resources/org/elasticsearch/index/mapper/attachment/test/sample-files/issue-22077.docx
Binary file not shown.
Binary file added
BIN
+206 KB
...st/resources/org/elasticsearch/index/mapper/attachment/test/sample-files/issue-22077.vsdx
Binary file not shown.
Binary file removed
BIN
-30.8 KB
...test/resources/org/elasticsearch/index/mapper/attachment/test/tika-files/testPPT.potm.zip
Binary file not shown.