-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated backward compatibility tests.
- Loading branch information
1 parent
2f88152
commit 0377f4c
Showing
13 changed files
with
446 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
116 changes: 116 additions & 0 deletions
116
...t-metastore/test-data/file-backed-index/v0-cefa3f14ad8abc59c64907d07d4ab421.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
{ | ||
"index": { | ||
"checkpoint": { | ||
"kafka-source": { | ||
"00000000000000000000": "00000000000000000042" | ||
} | ||
}, | ||
"create_timestamp": 1789, | ||
"doc_mapping": { | ||
"field_mappings": [ | ||
{ | ||
"fast": true, | ||
"indexed": true, | ||
"name": "tenant_id", | ||
"stored": true, | ||
"type": "u64" | ||
}, | ||
{ | ||
"fast": true, | ||
"indexed": true, | ||
"name": "timestamp", | ||
"stored": true, | ||
"type": "i64" | ||
}, | ||
{ | ||
"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" | ||
} | ||
], | ||
"store_source": true, | ||
"tag_fields": [ | ||
"log_level", | ||
"tenant_id" | ||
] | ||
}, | ||
"index_id": "my-index", | ||
"index_uri": "s3://quickwit-indexes/my-index", | ||
"indexing_settings": { | ||
"commit_timeout_secs": 301, | ||
"demux_enabled": true, | ||
"demux_field": "tenant_id", | ||
"merge_enabled": true, | ||
"merge_policy": { | ||
"demux_factor": 7, | ||
"max_merge_factor": 11, | ||
"merge_factor": 9 | ||
}, | ||
"resources": { | ||
"heap_size": 3, | ||
"num_threads": 3 | ||
}, | ||
"sort_field": "timestamp", | ||
"sort_order": "asc", | ||
"split_num_docs_target": 10000001, | ||
"timestamp_field": "timestamp" | ||
}, | ||
"search_settings": { | ||
"default_search_fields": [ | ||
"message" | ||
] | ||
}, | ||
"sources": [ | ||
{ | ||
"params": { | ||
"client_params": {}, | ||
"topic": "kafka-topic" | ||
}, | ||
"source_id": "kafka-source", | ||
"source_type": "kafka" | ||
} | ||
], | ||
"update_timestamp": 1789, | ||
"version": "1" | ||
}, | ||
"splits": [ | ||
{ | ||
"create_timestamp": 3, | ||
"demux_num_ops": 1, | ||
"footer_offsets": { | ||
"end": 2000, | ||
"start": 1000 | ||
}, | ||
"num_docs": 12303, | ||
"size_in_bytes": 234234, | ||
"split_id": "split", | ||
"split_state": "Published", | ||
"tags": [ | ||
"234", | ||
"aaa" | ||
], | ||
"time_range": { | ||
"end": 130198, | ||
"start": 121000 | ||
}, | ||
"update_timestamp": 1789, | ||
"version": "1" | ||
} | ||
], | ||
"version": "0" | ||
} |
116 changes: 116 additions & 0 deletions
116
quickwit-metastore/test-data/file-backed-index/v0-cefa3f14ad8abc59c64907d07d4ab421.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
{ | ||
"index": { | ||
"checkpoint": { | ||
"kafka-source": { | ||
"00000000000000000000": "00000000000000000042" | ||
} | ||
}, | ||
"create_timestamp": 1789, | ||
"doc_mapping": { | ||
"field_mappings": [ | ||
{ | ||
"fast": true, | ||
"indexed": true, | ||
"name": "tenant_id", | ||
"stored": true, | ||
"type": "u64" | ||
}, | ||
{ | ||
"fast": true, | ||
"indexed": true, | ||
"name": "timestamp", | ||
"stored": true, | ||
"type": "i64" | ||
}, | ||
{ | ||
"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" | ||
} | ||
], | ||
"store_source": true, | ||
"tag_fields": [ | ||
"log_level", | ||
"tenant_id" | ||
] | ||
}, | ||
"index_id": "my-index", | ||
"index_uri": "s3://quickwit-indexes/my-index", | ||
"indexing_settings": { | ||
"commit_timeout_secs": 301, | ||
"demux_enabled": true, | ||
"demux_field": "tenant_id", | ||
"merge_enabled": true, | ||
"merge_policy": { | ||
"demux_factor": 7, | ||
"max_merge_factor": 11, | ||
"merge_factor": 9 | ||
}, | ||
"resources": { | ||
"heap_size": 3, | ||
"num_threads": 3 | ||
}, | ||
"sort_field": "timestamp", | ||
"sort_order": "asc", | ||
"split_num_docs_target": 10000001, | ||
"timestamp_field": "timestamp" | ||
}, | ||
"search_settings": { | ||
"default_search_fields": [ | ||
"message" | ||
] | ||
}, | ||
"sources": [ | ||
{ | ||
"params": { | ||
"client_params": {}, | ||
"topic": "kafka-topic" | ||
}, | ||
"source_id": "kafka-source", | ||
"source_type": "kafka" | ||
} | ||
], | ||
"update_timestamp": 1789, | ||
"version": "1" | ||
}, | ||
"splits": [ | ||
{ | ||
"create_timestamp": 3, | ||
"demux_num_ops": 1, | ||
"footer_offsets": { | ||
"end": 2000, | ||
"start": 1000 | ||
}, | ||
"num_docs": 12303, | ||
"size_in_bytes": 234234, | ||
"split_id": "split", | ||
"split_state": "Published", | ||
"tags": [ | ||
"234", | ||
"aaa" | ||
], | ||
"time_range": { | ||
"end": 130198, | ||
"start": 121000 | ||
}, | ||
"update_timestamp": 1789, | ||
"version": "1" | ||
} | ||
], | ||
"version": "0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.