Realtime and in-place parameters

Realtime and in-place parameters #

realtime #

For non-object fields, enabling this option allows the field to support real-time search. For object fields, the realtime parameter overrides the realtime settings of its sub-fields.

Carried by: every type — see each field type.

inplace #

For non-object numeric and boolean fields, enabling this option makes a dedicated column the authoritative store of the field’s value. Partial updates on such fields can be applied as O(1) in-place column writes instead of rebuilding the document, which keeps frequent counters and flags cheap — only some update operators qualify, and the whole request must target inplace fields; see fast-lane eligibility for the exact operator list and conditions. A partial update that mixes inplace fields with regular fields is supported as well, and the document keeps its _id either way. Values are visible the moment the write lands (search snapshots pin the document set, not the values); a missing numeric field starts from 0 and a missing boolean from false; integer arithmetic wraps on overflow. See In-place columns for the visibility, arithmetic, and query-pruning semantics.

Declared with true on any other type, the mapping is rejected at create/update time with 400 mapper_parsing_exception. false is accepted on every type.

Carried by: numeric and boolean types.

Calendar September 30, 2026
Edit Edit this page