Skip to main content
The following query counts the number of values in a field:
Expected Response
See the Tantivy documentation for all available options.

SQL Count Syntax

SQL’s COUNT syntax is supported in beta. To enable it, first run
With this feature enabled, the following query is equivalent to the above and is executed in the same way.
SQL
To count all rows, including rows with null values, use COUNT(*):
SQL