multiple

This block is part of the query group and was last modified in core v10.4.28.

multiple v10.4.28

In pins 2
  • query required
    query
  • query_0 required
    query
Out pins 1
  • query
    query

Deep-merges every wired query input into one query object; must, must_not, filter and should arrays are concatenated rather than overwritten, as are top-level exists and not_exists arrays, while all other keys merge recursively. Nil or non-object inputs are skipped; with nothing wired the output is an empty object {}, which matches everything.

and

multiple combines query blocks: documents must match every input. Two fields terms feed it here, and the combined query goes to search.

Studio canvas example for the multiple block: combining queries with and.

Commonly used with

In production blueprints, this block is most often wired together with:

  • search: this block feeds into it. searches in the given storage based on a query.
  • must: feeds into this block. All queries provided must match.
  • disable cache: feeds into this block. Disables the storage cache in full for this query. Cache could be behind max. 5 seconds.
  • sorting: feeds into this block. Sorts the results on the given field and ordering.
  • filter: feeds into this block. Build a custom query using higher-level bool query.
  • search single: this block feeds into it. searches in the given storage based on a query and returns maximum one result.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v10.4.28.


Back to query Return to the main group to view all sub-groups Back to query Return to the group to view all blocks within this group