UpdateSource
Represents an update action's source. Has 2 flavors:
WithDoc makes a partial update of the existing document.
WithScript runs the specified script and indexes its result.
Types
Link copied to clipboard
class WithDoc<S : BaseDocSource>(val doc: S, val docAsUpsert: Boolean? = null, upsert: S? = null, detectNoop: Boolean? = null) : UpdateSource<S>
Link copied to clipboard
class WithScript<S : BaseDocSource>(val script: Script, val scriptedUpsert: Boolean? = null, upsert: S? = null, detectNoop: Boolean? = null) : UpdateSource<S>