All versions of this manual
X
 

Configuring data-sources: DataStax Enterprise Graph

DataStax Enterprise Graph is supported since version 5.1.3.

Prerequisites

In order to use DSE Graph with Linkurious is necessary that the option graph.tx_autostart is set to true on your current database.

Enable it via the DSE gremlin console by typing:

:remote config alias g <graphName>.g
graph.schema().config().option('graph.tx_autostart').set('true')

If you are going to use any search index other than the one provided directly from DataStax Enterprise Graph, it is necessary to set to true also the option graph.allow_scan.

:remote config alias g <graphName>.g
graph.schema().config().option('graph.allow_scan').set('true')

Configuration

To edit the DataStax Enterprise Graph data-source configuration, you can either use the Web user-interface or edit the configuration file located at linkurious/data/config/production.json.

Example configuration:

{
  "dataSources": [
    {
      "graphdb": {
        "vendor": "dse",
        "url": "ws://127.0.0.1:8182/",
        "graphName": "myGraph"
      },
      "index": {
        "vendor": "dseSearch"
      }
    }
  ]
}

Supported graphdb options for DataStax Enterprise Graph:

  • url (required): URL of the Gremlin server (must be a WebSocket URL, i.e. start with ws:// or wss://)
  • graphName (required): Name of the graph to use
  • create (optional): true to let Linkurious create the repository if it does not exist
  • user (optional): DataStax Enterprise Graph user
  • password (optional): DataStax Enterprise Graph password
  • latitudeProperty (optional): Name of the node property to use for latitude (used in geo mode)
  • longitudeProperty (optional): Name of the node property to use for longitude (used in geo mode)
  • allowSelfSigned (optional, default false): Whether to allow self-signed certificates

Search with DataStax Enterprise Graph

In order to have full-text search, you can choose among the following options: