You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [field capabilities API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-field-caps.html) returns information about the capabilities of fields among multiple indices.
|`fields`|`String`| Comma-separated list of fields to retrieve capabilities for. Supports wildcards (`*`). | (Optional) |
391
-
|`allow_no_indices`|`Boolean`| If `true`, missing or closed indices are not an error. | (Optional) |
392
-
|`expand_wildcards`|`String`| Controls what kind of indices that wildcard patterns can match. | (Optional) |
393
-
|`ignore_unavailable`|`Boolean`| If `true`, unavailable indices are ignored. | (Optional) |
394
-
|`start_timestamp`|`Integer`|*(Quickwit-specific)* If set, restricts splits to documents with a timestamp range start >= `start_timestamp` (seconds since epoch). | (Optional) |
395
-
|`end_timestamp`|`Integer`|*(Quickwit-specific)* If set, restricts splits to documents with a timestamp range end < `end_timestamp` (seconds since epoch). | (Optional) |
|`index_filter`|`Json object`| A query to filter indices. If provided, only fields from indices that can potentially match the filter are returned. See [index_filter](#index_filter). | (Optional) |
402
-
|`runtime_mappings`|`Json object`| Accepted but not supported. | (Optional) |
403
-
404
-
#### `index_filter`
405
-
406
-
The `index_filter` parameter allows you to filter which indices contribute to the field capabilities response. When provided, Quickwit uses the filter query to prune indices (splits) that cannot match the filter, and only returns field capabilities for the remaining ones.
407
-
408
-
Like Elasticsearch, this is a **best-effort** approach: Quickwit may return field capabilities from indices that do not actually contain any matching documents. In Quickwit, the filtering is limited to the existing split-pruning based on metadata:
409
-
410
-
-**Time pruning**: Range queries on the timestamp field can eliminate splits whose time range does not overlap with the filter.
411
-
-**Tag pruning**: Term queries on [tag fields](../configuration/index-config.md#tag-fields) can eliminate splits that do not contain the requested tag value.
412
-
413
-
Other filter types (e.g. full-text queries or term queries on non-tag fields) are accepted but will not prune any splits — all indices will be returned as if no filter was specified. In particular, Quickwit does not check whether terms are present in the term dictionary.
Copy file name to clipboardExpand all lines: docs/reference/metrics.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,8 @@ Currently Quickwit exposes metrics for three caches: `fastfields`, `shortlived`,
42
42
43
43
| Namespace | Metric Name | Description | Type |
44
44
| --------- | ----------- | ----------- | ---- |
45
-
|`quickwit_ingest`|`docs_bytes_total`| Total size of the docs ingested, measured in ingester's leader, after validation and before persistence/replication|`counter`|
46
-
|`quickwit_ingest`|`docs_total`|Total number of the docs ingested, measured in ingester's leader, after validation and before persistence/replication|`counter`|
45
+
|`quickwit_ingest`|`ingested_num_bytes`| Total size of the docs ingestedin bytes|`counter`|
46
+
|`quickwit_ingest`|`ingested_num_docs`|Number of docs received to be ingested|`counter`|
47
47
|`quickwit_ingest`|`queue_count`| Number of queues currently active |`counter`|
0 commit comments