Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] 🌊 Streams: Set subobjects: false (#203002) #203543

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
🌊 Streams: Set subobjects: false (#203002)
With elastic/elasticsearch#117544 fixed,
`subobjects: false` can be set on wired streams.

This allows to map fields as scalars even if they share the same prefix,
e.g.
* `deeply.nested.path` as `keyword`
* `deeply.nested.path.and.more` as `keyword`

(cherry picked from commit 7f3c642)
  • Loading branch information
flash1293 committed Dec 10, 2024
commit 167ead414b4236e0d8016ac26520bfd7551f9995
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function generateLayer(
template: {
settings: isRoot(definition.id) ? logsSettings : {},
mappings: {
subobjects: true, // TODO set to false once this works on Elasticsearch side - right now fields are not properly indexed.
subobjects: false,
dynamic: false,
properties,
},
Expand Down
Loading