You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@deelam: 'In cases where the auto-index is stopped or isn't active (i.e., during BatchInsertion), there is no way to "refresh" the auto-index.
To update the automatic index when using BatchInserter, use the name of the automatic index (i.e., "node_auto_index" and "relationship_auto_index") in the place of "actors" in 'indexProvider.nodeIndex( "actors", MapUtil.stringMap( "type", "exact" ) );'.
Possible solution: Implement a refresh method to update the automatic index based on all the data in the database.
The following was provided by Michael Hunger:
Some code like this can "create" the auto-index in a regular graphdb.
If you want to update an auto-index which indexed different properties before that you have to include those properties in the set (they will then be removed from the auto-index).
@deelam: 'In cases where the auto-index is stopped or isn't active (i.e., during BatchInsertion), there is no way to "refresh" the auto-index.
To update the automatic index when using BatchInserter, use the name of the automatic index (i.e., "node_auto_index" and "relationship_auto_index") in the place of "actors" in 'indexProvider.nodeIndex( "actors", MapUtil.stringMap( "type", "exact" ) );'.
Possible solution: Implement a refresh method to update the automatic index based on all the data in the database.
The following was provided by Michael Hunger:
Some code like this can "create" the auto-index in a regular graphdb.
If you want to update an auto-index which indexed different properties before that you have to include those properties in the set (they will then be removed from the auto-index).
'
The text was updated successfully, but these errors were encountered: