Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
44 lines
721 B
TypeScript
44 lines
721 B
TypeScript
export const indexSettings = `{
|
|
"settings": {
|
|
"index": {
|
|
"number_of_shards": 3,
|
|
"number_of_replicas": 2
|
|
}
|
|
}
|
|
}`;
|
|
|
|
export const mappings = `{
|
|
"mappings": {
|
|
"properties": {
|
|
"field1": { "type": "text" }
|
|
}
|
|
}
|
|
}`;
|
|
|
|
export const aliases = `{
|
|
"aliases": {
|
|
"alias_1": {},
|
|
"alias_2": {
|
|
"filter": {
|
|
"term": { "user.id": "kimchy" }
|
|
},
|
|
"routing": "shard-1"
|
|
}
|
|
}
|
|
}`;
|
|
|
|
export const query = `{
|
|
"query": {
|
|
"term": {
|
|
"user.id": "john"
|
|
}
|
|
}
|
|
}`;
|
|
|
|
export const document = `{
|
|
"timestamp": "2099-05-06T16:21:15.000Z",
|
|
"event": {
|
|
"original": "192.0.2.42 - - [06/May/2099:16:21:15 +0000] \"GET /images/bg.jpg HTTP/1.0\" 200 24736"
|
|
}
|
|
}`;
|