mirror of https://github.com/apache/nifi.git
NIFI-13118: Add LANGUAGE to property_descriptor list
Signed-off-by: Joe Gresock <jgresock@gmail.com> This closes #8720.
This commit is contained in:
parent
280015749f
commit
99d8433b7d
|
@ -182,7 +182,8 @@ class ChunkDocument(FlowFileTransform):
|
|||
CHUNK_SIZE,
|
||||
CHUNK_OVERLAP,
|
||||
KEEP_SEPARATOR,
|
||||
STRIP_WHITESPACE]
|
||||
STRIP_WHITESPACE,
|
||||
LANGUAGE]
|
||||
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
@ -282,4 +283,4 @@ class ChunkDocument(FlowFileTransform):
|
|||
|
||||
output_json = self.to_json(split_docs)
|
||||
attributes = {"document.count": str(len(split_docs))}
|
||||
return FlowFileTransformResult("success", contents=output_json, attributes=attributes)
|
||||
return FlowFileTransformResult("success", contents=output_json, attributes=attributes)
|
||||
|
|
Loading…
Reference in New Issue