Skip to content

Commit 7393ae0

Browse files
committed
added 'remove_binary' to AttachmentProcessor (issue #727)
1 parent 90b0967 commit 7393ae0

File tree

3 files changed

+59
-40
lines changed

3 files changed

+59
-40
lines changed

output/schema/schema.json

Lines changed: 53 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ingest/_types/Processors.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,11 @@ export class AttachmentProcessor extends ProcessorBase {
324324
* @server_default attachment
325325
*/
326326
target_field?: Field
327+
/**
328+
* If true, the binary field will be removed from the document
329+
* @server_default false
330+
*/
331+
remove_binary?: boolean
327332
/**
328333
* Field containing the name of the resource to decode.
329334
* If specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.

0 commit comments

Comments
 (0)