java.lang.Object
org.elasticsearch.xpack.core.ml.annotations.AnnotationIndex

public class AnnotationIndex extends Object
  • Field Details

  • Constructor Details

    • AnnotationIndex

      public AnnotationIndex()
  • Method Details

    • createAnnotationsIndexIfNecessaryAndWaitForYellow

      public static void createAnnotationsIndexIfNecessaryAndWaitForYellow(Client client, ClusterState state, org.elasticsearch.core.TimeValue masterNodeTimeout, ActionListener<Boolean> finalListener)
      Create the .ml-annotations-6 index with correct mappings if it does not already exist. This index is read and written by the UI results views, so needs to exist when there might be ML results to view. This method also waits for the index to be ready to search before it returns.
    • createAnnotationsIndexIfNecessary

      public static void createAnnotationsIndexIfNecessary(Client client, ClusterState state, org.elasticsearch.core.TimeValue masterNodeTimeout, ActionListener<Boolean> finalListener)
      Create the .ml-annotations-6 index with correct mappings if it does not already exist. This index is read and written by the UI results views, so needs to exist when there might be ML results to view.
    • annotationsMapping

      public static String annotationsMapping()