IndexDocs
Indexes JSON documents into Knowledge Graph and creates the graph, according to your configuration.
NOTE: This action requires a POST request method.
Example
http://12.3.4.56:10300/action=IndexDocs&Data=Data=[{'title': 'document 1', 'myfield': 'value1'}, {'title': 'document 2', 'myfield': 'value 2'}]
This action indexes the specified data into the Knowledge Graph, to create a graph.
Parameters
Parameter | Description | Required |
---|---|---|
Data | An array of JSON objects, representing documents. | Yes |
Persist | Whether to save all documents to disk during the indexing process. | |
RegenerateWeights | Whether to regenerate edge weights during the indexing process. |