Index Pipeline Stages
Raw content is parsed into one or more PipelineDocument objects.
Any number of intermediate stages operate on the document fields directly, or, in the case of specialized NLP tools, add annotations to a document.
Finally, the PipelineDocument is sent to Solr for indexing.
A pipeline stage definition associates a unique ID with a set of properties. Pipeline definitions are stored in ZooKeeper for reuse across pipelines and search applications. The Fusion UI provides stage-specific panels used to define and configure each pipeline stage. Alternatively, JSON can be used to specify the sequence of pipeline stages and registered via the Fusion REST API. Some stages require additional resources, e.g., text files that contain lists of names, synonyms, places, or binary files which NLP language models. These resources can be uploaded via the Fusion UI or the REST API.
The pipeline stage JSON editor gives the ability to create and copy pipeline stages by pasting JSON objects in the Fusion UI. Only JSON is supported, and JSON validation is included to prevent the user from saving an invalid object.
Navigate to your pipelines, select a pipeline stage, and click the JSON View button to open the editor:
Existing stages are considered READ-ONLY. They will have only a copy button which can be used to create stages. New stages will have the option to copy or paste valid JSON. Changes are applied to the stage with the Apply button.
|Users will still need to Save the stage for the changes made in the editor to be saved.
The editor has several elements worth noting:
Copies the JSON to the clipboard.
Pastes the clipboard into the editor. Only valid JSON is accepted.
Expands the editor to a fullscreen view.
Condenses the editor to a compact view.
Applies the JSON in the editor and updates the stage. The stage must be saved to preserve the changes.
Resets changes made since the last time changes were applied.
For instructions, see Use the Pipeline Stage JSON Editor.