IndexAction

open class IndexAction<S : BaseDocSource>(val meta: ActionMeta, val source: S, val concurrencyControl: ConcurrencyControl? = null, val pipeline: String? = null) : Action<S>

Indexes a source document to an index. If the document already exists, the action overwrites the document and increments its version.

See also

Constructors

Link copied to clipboard
fun <S : BaseDocSource> IndexAction(meta: ActionMeta, source: S, concurrencyControl: ConcurrencyControl? = null, pipeline: String? = null)

Properties

Link copied to clipboard
open override val concurrencyControl: ConcurrencyControl? = null

Concurrency control.

Link copied to clipboard
open override val meta: ActionMeta

Action's metadata.

Link copied to clipboard
open override val name: String

Name of the action.

Link copied to clipboard
val pipeline: String? = null
Link copied to clipboard
open override val source: S

Optional source.

Inheritors

Link copied to clipboard