Indexes JSON documents into Knowledge Graph and creates the graph, according to your configuration.
Note: This action requires a POST request method.
http://12.3.4.56:9000/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.
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. |
|