Options accepted by updateDocument().
updateDocument()
Optional
Document to insert if it doesn't already exist (upsert).
Refresh policy for making the write visible to search immediately.
Number of times to retry on a version conflict.
Options accepted by
updateDocument().