Extract Document
Synopsis
This operator converts a value stored in an ExampleSet into a Document.
Description
The Extract Document operator creates a new Document, containing a specified data value from the input ExampleSet. It can be used on any value type but is typically used on attributes containing text values. The entry in the ExampleSet is referenced by specifying an attribute name and a row index.
Input
example set
This input port expects an ExampleSet.
Output
example set
The ExampleSet that was given as input is passed without changing to the output through this port. This is usually used to reuse the same ExampleSet in further operators or to view the ExampleSet in the Results Workspace.
output
The extracted Document containing the specified data value from the ExampleSet is output of this port.
Parameters
Attribute name
The name of the attribute from which the data value should be extracted. The attribute name must exist in the ExampleSet that was given as input.
Example index
This parameter lets you specify the index in the ExampleSet from which the Document should be extracted. Numbering starts at 1.