count only
This block is part of the query group and was last modified in core v10.4.28.
Connection Type
This block connects from a query type block. Make sure to connect this block to the appropriate left-hand side connection.
count only v10.4.28 Return only the total number of documents found.
Out pins 1
- query
query
Emits the control fragment {"count": true}: the search returns only the total number of matching documents, not the documents themselves. Takes no inputs; the fragment is hoisted to the top level of the query when collected by a bool block.
A typical wiring for count only: the query out pin feeds search.
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.
Version history
Introduced in v10.4.28.
Back to
query Return to the main group to view all sub-groups Back to query: misc. Return to the group to view all blocks within this group 