Skip to content

Commit

Permalink
Update metastore test data files.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassot committed Jan 2, 2024
1 parent 8e8a8fd commit bad8903
Show file tree
Hide file tree
Showing 15 changed files with 741 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"message"
]
},
"version": "0.6"
"version": "0.7"
},
"index_uid": "my-index:",
"sources": [
Expand All @@ -126,10 +126,10 @@
},
"source_id": "kafka-source",
"source_type": "kafka",
"version": "0.6"
"version": "0.7"
}
],
"version": "0.6"
"version": "0.7"
},
"splits": [
{
Expand Down Expand Up @@ -161,8 +161,8 @@
},
"uncompressed_docs_size_in_bytes": 234234,
"update_timestamp": 1789,
"version": "0.6"
"version": "0.7"
}
],
"version": "0.6"
"version": "0.7"
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"message"
]
},
"version": "0.6"
"version": "0.7"
},
"index_uid": "my-index:",
"sources": [
Expand All @@ -130,10 +130,10 @@
"script": ".message = downcase(string!(.message))",
"timezone": "UTC"
},
"version": "0.6"
"version": "0.7"
}
],
"version": "0.6"
"version": "0.7"
},
"splits": [
{
Expand Down Expand Up @@ -165,8 +165,8 @@
},
"uncompressed_docs_size_in_bytes": 234234,
"update_timestamp": 1789,
"version": "0.6"
"version": "0.7"
}
],
"version": "0.6"
"version": "0.7"
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"message"
]
},
"version": "0.6"
"version": "0.7"
},
"index_uid": "my-index:00000000000000000000000000",
"sources": [
Expand All @@ -137,10 +137,10 @@
"script": ".message = downcase(string!(.message))",
"timezone": "UTC"
},
"version": "0.6"
"version": "0.7"
}
],
"version": "0.6"
"version": "0.7"
},
"shards": {
"_ingest-source": {
Expand Down Expand Up @@ -188,8 +188,8 @@
},
"uncompressed_docs_size_in_bytes": 234234,
"update_timestamp": 1789,
"version": "0.6"
"version": "0.7"
}
],
"version": "0.6"
"version": "0.7"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
{
"delete_tasks": [
{
"create_timestamp": 0,
"delete_query": {
"index_uid": "my-index:00000000000000000000000000",
"query_ast": "{\"type\":\"bool\",\"must\":[{\"type\":\"full_text\",\"field\":\"body\",\"text\":\"Harry\",\"params\":{\"mode\":{\"type\":\"phrase_fallback_to_intersection\"}}},{\"type\":\"full_text\",\"field\":\"body\",\"text\":\"Potter\",\"params\":{\"mode\":{\"type\":\"phrase_fallback_to_intersection\"}}}]}"
},
"opstamp": 10
}
],
"index": {
"checkpoint": {
"kafka-source": {
"00000000000000000000": "00000000000000000042"
}
},
"create_timestamp": 1789,
"index_config": {
"doc_mapping": {
"dynamic_mapping": {
"expand_dots": true,
"fast": {
"normalizer": "raw"
},
"indexed": true,
"record": "basic",
"stored": true,
"tokenizer": "raw"
},
"field_mappings": [
{
"coerce": true,
"fast": true,
"indexed": true,
"name": "tenant_id",
"output_format": "number",
"stored": true,
"type": "u64"
},
{
"fast": true,
"fast_precision": "seconds",
"indexed": true,
"input_formats": [
"rfc3339",
"unix_timestamp"
],
"name": "timestamp",
"output_format": "rfc3339",
"stored": true,
"type": "datetime"
},
{
"fast": false,
"fieldnorms": false,
"indexed": true,
"name": "log_level",
"record": "basic",
"stored": true,
"tokenizer": "raw",
"type": "text"
},
{
"fast": false,
"fieldnorms": false,
"indexed": true,
"name": "message",
"record": "position",
"stored": true,
"tokenizer": "default",
"type": "text"
}
],
"index_field_presence": true,
"max_num_partitions": 100,
"mode": "dynamic",
"partition_key": "tenant_id",
"store_source": true,
"tag_fields": [
"log_level",
"tenant_id"
],
"timestamp_field": "timestamp",
"tokenizers": [
{
"filters": [],
"name": "custom_tokenizer",
"pattern": "[^\\p{L}\\p{N}]+",
"type": "regex"
}
]
},
"index_id": "my-index",
"index_uri": "s3://quickwit-indexes/my-index",
"indexing_settings": {
"commit_timeout_secs": 301,
"docstore_blocksize": 1000000,
"docstore_compression_level": 8,
"merge_policy": {
"maturation_period": "2days",
"max_merge_factor": 11,
"merge_factor": 9,
"min_level_num_docs": 100000,
"type": "stable_log"
},
"resources": {
"heap_size": "50.0 MB"
},
"split_num_docs_target": 10000001
},
"retention": {
"period": "90 days",
"schedule": "daily"
},
"search_settings": {
"default_search_fields": [
"message"
]
},
"version": "0.7"
},
"index_uid": "my-index:00000000000000000000000000",
"sources": [
{
"desired_num_pipelines": 2,
"enabled": true,
"input_format": "json",
"max_num_pipelines_per_indexer": 2,
"params": {
"client_params": {},
"topic": "kafka-topic"
},
"source_id": "kafka-source",
"source_type": "kafka",
"transform": {
"script": ".message = downcase(string!(.message))",
"timezone": "UTC"
},
"version": "0.7"
}
],
"version": "0.7"
},
"shards": {
"_ingest-source": {
"next_shard_id": 2,
"shards": [
{
"follower_id": "follower-ingester",
"index_uid": "my-index:00000000000000000000000000",
"leader_id": "leader-ingester",
"shard_id": 1,
"shard_state": 0,
"source_id": "_ingest-source"
}
]
}
},
"splits": [
{
"create_timestamp": 3,
"delete_opstamp": 10,
"footer_offsets": {
"end": 2000,
"start": 1000
},
"index_uid": "my-index:00000000000000000000000000",
"maturity": {
"maturation_period_millis": 4000,
"type": "immature"
},
"node_id": "node",
"num_docs": 12303,
"num_merge_ops": 3,
"partition_id": 7,
"publish_timestamp": 1789,
"source_id": "source",
"split_id": "split",
"split_state": "Published",
"tags": [
"234",
"aaa"
],
"time_range": {
"end": 130198,
"start": 121000
},
"uncompressed_docs_size_in_bytes": 234234,
"update_timestamp": 1789,
"version": "0.7"
}
],
"version": "0.7"
}
Loading

0 comments on commit bad8903

Please sign in to comment.