Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The Source editor Editor is displayed when clicking on Source editor from the Manager interface.
Description:
Use the Source Manager to create, edit, validate, test, and publish your sources.
The Managing Sources with Infinit.e Source Manager Sources page provides a simple interface for adding and testing new sources, saving templates for future sources, and managing existing ones. Future iterations of the tool will provide actual support for the difficult bits of source writing, such as writing Javascript and regexes.
Info |
---|
Note that the grey lines can be dragged to increase or decrease the size of the editor window. |
Field | Description | Notes |
---|---|---|
Filter Window | The "Filter" text box will by default search the source titles, but it can also search the following fields:
| |
Source Functions | ||
Title | ||
Share ID | ||
Description | ||
tags | ||
Owner | ||
Community | ||
Test Parameters | Full text: By default, the full text of a document is not returned (it can be quite long). For testing text extractors (eg "boilerpipe" vs "none" vs "AlchemyAPI"), or for testing "unstructured analysis" transformations, the text maybe useful or essential though; in these cases, enable this check box. Number of Documents: "Number of documents": the maximum number of documents that will be enriched and returned. The smaller the number of documents, the quick the API calls returns. Update test Mode:
| |
|
Code Editor
The editor window displays the source code for editing.
Description:
Field | Description | Notes |
---|---|---|
JSON | this is the full source including all fields | |
New Source Pipeline |
| |
| ||
| ||
Legacy Sources |
| |
| ||
| ||
Check format | If run on the "JS-U" or "JS-S" tabs then the javascript in "structuredAnalysis.script" or "unstructuredAnalysis.script" is checked instead. This validation is run automatically before the source is saved, tested, enabled/disabled, or published. (Or when switching between the JSON/JS tabs). Note that the automatic validation does not run on the javascript, only on the JSON. | |
Test Results Pop-Up
When you click on the test Source button a pop-up is triggered as shown below.
The test results pop up contains 2 text elements:
- A status message including the number of documents returned, any errors or warnings encountered etc.
- The JSON of the extracted and enriched /wiki/spaces/INF/pages/3899780, if the test was successful.
- Future versions of the tool will allow the documents to be viewed in widgets in the main GUI, providing a much easier interface to validate the source.
Based off the results from testing, the source can then be refined until the desired functionality is obtained.
Panel | |
---|---|
In this section:
|
Panel |
---|
Related Procedural Documentation: |