Commit f36d519
TSBD and LogsDB indexes with this setting set to true do not use backing indexes
for `host.name`, `_tsid` or `@timestamp` fields, and instead enable sparse indexes
on their doc_values fields.
This was originally added and set to default to `true` a while back, but was then changed
to default to `false` when performance suffered. Changes to lucene, and the addition of
filter-by-filter optimizations on skipper queries, means that performance looks more
acceptable now.
This is still gated behind a feature flag so that we can measure the behaviour in nightly
benchmarks before enabling for public use.
1 parent 9116f27 commit f36d519
File tree
5 files changed
+6
-6
lines changed- server/src/main/java/org/elasticsearch/index
- mapper
5 files changed
+6
-6
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
1103 | | - | |
| 1103 | + | |
1104 | 1104 | | |
1105 | 1105 | | |
1106 | 1106 | | |
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | | - | |
1113 | 1112 | | |
1114 | | - | |
| 1113 | + | |
1115 | 1114 | | |
1116 | 1115 | | |
1117 | 1116 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments