Class ReindexScript

java.lang.Object
org.elasticsearch.script.WriteScript
org.elasticsearch.script.ReindexScript

public abstract class ReindexScript extends WriteScript
A script used in the reindex api
  • Field Details

  • Constructor Details

    • ReindexScript

      public ReindexScript(Map<String,Object> params, CtxMap<ReindexMetadata> ctxMap)
      Metadata available to the script _index can't be null _id, _routing and _version are writable and nullable op must be 'noop', 'index' or 'delete'
  • Method Details

    • getParams

      public Map<String,Object> getParams()
      Return the parameters for this script.
    • execute

      public abstract void execute()