Returns a Search session handle for reading and writing key-value data
on the workflow's backend HASH record. Search fields are flat string
key-value pairs stored alongside the job state, making them queryable
via Durable.Client.workflow.search() (FT.SEARCH).
Each call produces a unique session ID tied to the deterministic
execution counter, ensuring correct replay behavior.
Use search() for flat, indexable key-value data. For structured
JSON documents, use entity() instead.
Returns a
Searchsession handle for reading and writing key-value data on the workflow's backend HASH record. Search fields are flat string key-value pairs stored alongside the job state, making them queryable viaDurable.Client.workflow.search()(FT.SEARCH).Each call produces a unique session ID tied to the deterministic execution counter, ensuring correct replay behavior.
Use
search()for flat, indexable key-value data. For structured JSON documents, useentity()instead.Examples