Consistency

Consistency

By default API methods that change data in Enterprise Tester will attempt to wait until those changes have also been reflected in the indexes (such as the Run or Entity index).

If you are performing bulk insert operations, and do not rely on needing to be able to immediately query via TQL and retrieve acurate results based on the the data that was created, updated or deleted then you can choose to "opt out" of this wait mechanism.

To do so you request must either:

  • Include the query parameter "wait-until-indexed" with the value "false".
  • Include the request header "wait-until-indexed" with the value "false".

If the query parameter or header is not present, or set to true, then the default behavior of waiting until the entity is indexed after persisting any changes will apply.