Knowledge Graph 25.2
Knowledge Graph Reference

# 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. |

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Knowledge Graph 25.2

Topic Title: IndexDocs