-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Attachment ingest processor: add resource_name field #64389
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
Merged
danhermann
merged 18 commits into
elastic:master
from
yangyaofei:plugin-attachment-filename
Dec 7, 2020
Merged
Changes from 8 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e115498
Add filename for Tika to better recognize the txt file
yangyaofei 285a513
bugfix : no field "file_name"
yangyaofei dcdcb52
add test for adding file_name field in ingest-attachment
yangyaofei fbd914e
Merge branch 'master' into plugin-attachment-filename
elasticmachine f8adca4
[Plugin Attachment] update exclude file
yangyaofei 8f88243
[Plugin Attachment] update variable name to meet tika's name
yangyaofei 914648d
[Plugin Attachment] update test
yangyaofei d8e4638
Merge branch 'master' into plugin-attachment-filename
elasticmachine bca1175
Update plugins/ingest-attachment/src/test/java/org/elasticsearch/inge…
yangyaofei 0d4d6cf
Update plugins/ingest-attachment/src/test/java/org/elasticsearch/inge…
yangyaofei 93f8cf5
Update plugins/ingest-attachment/src/test/java/org/elasticsearch/inge…
yangyaofei 2d927ca
Update plugins/ingest-attachment/src/test/java/org/elasticsearch/inge…
yangyaofei 9cfded6
Update plugins/ingest-attachment/src/test/java/org/elasticsearch/inge…
yangyaofei f34c553
Update plugins/ingest-attachment/src/test/java/org/elasticsearch/inge…
yangyaofei 4c55774
Update plugins/ingest-attachment/src/test/java/org/elasticsearch/inge…
yangyaofei 74a38eb
Update plugins/ingest-attachment/src/test/java/org/elasticsearch/inge…
yangyaofei 6e5e033
[Plugin Attachment] make test independent
yangyaofei 0d158d1
[Plugin Attachment] update format
yangyaofei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
14 changes: 14 additions & 0 deletions
14
...rc/test/resources/org/elasticsearch/ingest/attachment/test/sample-files/text-cjk-big5.txt
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| �ӹ��ӹ��A�L���ڶ��I�T���e�k�A���ڪ��U�C�u�N�h�k�A�A���֤g�C�֤g�֤g�A���o�کҡC | ||
| �ӹ��ӹ��A�L���ڳ��I�T���e�k�A���ڪּw�C�u�N�h�k�A�A���ְ�C�ְ�ְ�A���o�ڪ��C | ||
| �ӹ��ӹ��A�L���ڭ]�I�T���e�k�A���ڪֳҡC�u�N�h�k�A�A���֭��C�֭��֭��A�֤��ø��C | ||
| ���������A�I�_�����A�����ֵ֡A�����_���A���_���A����n�n�C | ||
| ���������A�I�_�����A���������A�O�¬O��A���]���b�A�A���L��C | ||
| ���i�v��A���i���k�A�����ڨp�A����ڦ�A�`��`�_�A�k������C | ||
| �������աA���ճ����A�ا��h�H�A�I���P��C | ||
| �F���Z�R�A�ڰ��k誡A�کh�u�������A���H�����h�C | ||
| �F�������A�ڰ��ȶ��A�کh�u�������A���H���öˡC | ||
| �F�����o�A�ڰ��Ȩo�A�ڹ�ڱ�o�A����S�o�C | ||
| �h���u���A��y�_�N�A���h�_���A���餣��A�ܩ��ѮV�A��P���ѡC | ||
| �X�J�_���A���^�_�A�k�l����A�������S�̡A�ݧڽѩh�A�E�ΧB�n�C | ||
| �X�J�_�z�A���^�_���A����ߣ�A�٨����ڡAࡿ��_���A���妳�`�C | ||
| �ګ�άu�A�����üۡA�䶷�P���A�ڤ߱y�y�A�r���X�C�A�H�g�ڼ~�C |
29 changes: 29 additions & 0 deletions
29
.../test/resources/org/elasticsearch/ingest/attachment/test/sample-files/text-cjk-euc-jp.txt
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| ���ͤ����ͤ衢 | ||
| �椬�Ф餦̵���졪 | ||
| ���н��˴Ӥ����ˡ� | ||
| ���Τ��Ƹܤߤ������� | ||
|
|
||
| �¤��ƾ��˽����ꡢ | ||
| ��γ��ڤ�Ŭ���� | ||
| ���ڤ���ڤ衢 | ||
| ˲椬������� | ||
|
|
||
| ���ͤ����ͤ衢 | ||
| �椬���餦̵���졪 | ||
| ���н��˴Ӥ����ˡ� | ||
| ������������������ | ||
|
|
||
| �¤��ƾ��˽����ꡢ | ||
| ��γڹ��Ŭ���� | ||
| �ڹ��ڹ�衢 | ||
| ˲椬ľ������ | ||
|
|
||
| ���ͤ����ͤ衢 | ||
| �椬�Ĥ餦̵���졪 | ||
| ���н��˴Ӥ����ˡ� | ||
| ���Τ���ϫ�������� | ||
|
|
||
| �¤��ƾ��˽����ꡢ | ||
| ��γڹ٤�Ŭ���� | ||
| �ڹ٤�ڹ٤衢 | ||
| ï��Ƿ���Ʊʹ椻�� |
3 changes: 3 additions & 0 deletions
3
...src/test/resources/org/elasticsearch/ingest/attachment/test/sample-files/text-cjk-gbk.txt
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| ˶��˶����ʳ���������Ů��Ī�ҿϹˡ��Ž�ȥŮ���ʱ�����������������뼵������� | ||
| ˶��˶����ʳ���������Ů��Ī�ҿϵ¡��Ž�ȥŮ���ʱ��ֹ����ֹ��ֹ���뼵���ֱ�� | ||
| ˶��˶����ʳ���磡�����Ů��Ī�ҿ��͡��Ž�ȥŮ���ʱ��ֽ����ֽ��ֽ���˭֮���š� |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.