Skip to content

Commit

Permalink
Remove basic index and use only one mixed index for all elements
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 7, 2021
1 parent 233c925 commit d2f80d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ScalliGraph
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,13 @@ class TheHiveSchemaDefinition @Inject() extends Schema with UpdatableSchema {
}
Success(())
}
//=====[release 4.1.2]=====
//=====[release 4.1.2]=====
.removeIndex("Audit", IndexType.basic, "requestId", "mainAction")
.removeIndex("Alert", IndexType.unique, "type", "source", "sourceRef", "organisationId")
.removeIndex("_label_vertex_index", IndexType.basic)
.removeIndex("Case", IndexType.basic, "status")
.removeIndex("Task", IndexType.basic, "status")
.removeIndex("Alert", IndexType.basic, "type", "source", "sourceRef")

val reflectionClasses = new Reflections(
new ConfigurationBuilder()
Expand Down

0 comments on commit d2f80d6

Please sign in to comment.