Node fulltext index

Permission: Settings management

Data in Graphlytic are indexed. You can select which node properties are indexed in fulltext index. You have to have at least one valid DB property defined in propertiesFullText in order to Graphlytic work properly, mainly the search functions.

  1. Left menu - settings

  2. See panel "Node fulltext index"

Panel contains information:

  • Status: ENABLED / DISABLED - if indexer is enabled and all nodes are indexed automatically or not

  • Reindex status: REINDEX_RUNNING, REINDEX_SUCCESS, REINDEX_ERROR, REINDEX_INTERRUPTED, REINDEX_REQUIRED

  • Reindex start: start date of reindex

  • Reindex end: end date of reindex

  • Reindex items: number of all nodes, current number of processed nodes, progress

  • Fulltext properties: list of node properties which will be indexed

Configure

  1. Press button Configure

  2. Enter configuration into form. Or you can use default or automatic configuration by pressing one of the buttons Default or Automatic.

  3. Confirm by pressing button Save.

  4. All new added nodes are indexed automatically during storing into Neo4j from this moment.

Because you changed configuration of indexer it is strictly recommended to reindex with new configuration. Explanation: Only new created data will be indexed with new configuration from this moment. Existing data stay indexed by previous configuration and could lead to data inconsistency.

Configuration is entered as JSON. Example of JSON:

{
"propertiesFullText": ["title", "address", "department"]
}

Explanation of JSON properties:

Property

Values

Default

Description

Usage

propertiesFullText

MANDATORY

Array of strings

These DB properties of nodes are indexed and used for fulltext search. Property value is normalized and transformed to lower case before insert into index. Normalization means NFD normalization with removing not ASCII characters.

Search Page

Explanation of automatic configuration:

Automatic configuration is used to generate configuration which contains properties of several random data nodes. Random nodes are selected as first 1000 nodes.

Enable

After activation of index, nodes will be indexed automatically based on configuration.

  1. Press button Enable.

  2. Index of nodes is enabled if index was disabled.

Because you enabled indexer it is strictly recommended to reindex all nodes. Explanation: only new created nodes will be indexed from this moment. Nodes added when indexer was disabled were not indexed and could lead to data inconsistency.

Disable

After deactivation of index, nodes won't be indexed. Deactivation is useful if you need make large amount of changes for data. Disable index before these changes will be executed and enable after these changes to reindex all nodes after all changes are done. This way can be more effective because it can takes a longer time if index is enabled during changes of large amount of data.

  1. Press button Disable

  2. Index of nodes is disabled if index is was enabled.

Reindex

Indexing of all nodes can take a while. It depends on number of indexed nodes and number of properties. Use button "Refresh" to view actual status of indexing. Data are indexed in commit size 10 000 nodes.

  1. Press button Reindex

  2. Reindex of all nodes is started.

  3. Check progress of reindex by pressing "Refresh" icon in the top right corner of "Node index" panel. Panel contains information: start date, end date, estimated number of all nodes, current number of indexed nodes, progress.

Interrupt

It is useful if reindex takes long time and you forget to change some data or you make incorrect configuration of indexer.

  1. Press button Interrupt to interrupt current running reindex.

  2. Reindex is interrupted.

Because you interrupt reindex it is strictly recommended to reindex all nodes again after you make all required changes. Explanation: interrupting indexing will result in undesired state. All nodes are not indexed, so searching will not work correctly (it will only search the indexed nodes)

Refresh

  1. Use icon "Refresh" in top right corner of "Node index" panel to refresh status of indexer.