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
WithDoc
Link copied to clipboard
class WithDoc<S : BaseDocSource>(doc: S, docAsUpsert: Boolean?, upsert: S?, detectNoop: Boolean?) : UpdateSource<S>
Content copied to clipboard
WithScript
Link copied to clipboard
class WithScript<S : BaseDocSource>(script: Script, scriptedUpsert: Boolean?, upsert: S?, detectNoop: Boolean?) : UpdateSource<S>
Content copied to clipboard