All versions of this manual
X
 

Search index

Linkurious allow you to search your graph using natural full-text search.

In order to offer the search feature out-of-the-box, Linkurious ships with an embedded Elasticsearch server. The option allow for zero-configuration deployment in many cases.

Indexing your graph data

By default, Linkurious uses Elasticsearch for search. This options requires Linkurious to index your graph database, which technically means that Linkurious will feed the whole content of the graph database to Elasticsearch to make it searchable. The time required to index the graph database increases with the size of the graph and this solution has limits in its scalability.

Indexation typically happens at speeds between 2000 and 20000 nodes or edges per second, depending on the number of properties for nodes and edges, and hardware performances.

Embedded Elasticsearch

By default, Linkurious ships with an embedded Elasticsearch server (version 1.4.5). This server only listens for local connections on a non-default port (it binds to 127.0.0.1:9201), for security reasons and to avoid collisions with existing servers.

Use your own Elasticsearch

It is possible to use your own Elasticsearch cluster for performances reasons. Linkurious supports Elasticsearch v1.x as well as v2.x. See details about Elasticsearch configuration options.

Search scalability and alternatives to Elasticsearch

Using Elasticsearch is convenient but may not fit cases where the graph database is big (more a a couple million nodes and edges) and is regularly modified from outside Linkurious, which required to re-index the whole database.

In order to offer a scalable search feature on big graphs, Linkurious offers alternatives search solution:

Edit the search configuration

Using the Web user interface

The index configuration can be changed from the administration interface.

Using an administrator account, access the Admin > Data menu to edit the current data-source configuration: admin-data menu

Edit the data-source index configuration: edit data-source configuration form

Submit the changes by hitting the Save configuration button save data-source configuration

Using the configuration file

Edit the configuration file located at linkurious/data/config/production.json.

See details for each supported search connector: