Skip to content

Commit e761192

Browse files
authored
Merge branch 'main' into inference-eis-completion-support
2 parents 9832fde + 20e30c9 commit e761192

File tree

262 files changed

+8864
-2442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+8864
-2442
lines changed

benchmarks/src/main/java/org/elasticsearch/benchmark/_nightly/esql/ValuesSourceReaderBenchmark.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import org.apache.lucene.store.Directory;
2424
import org.apache.lucene.util.BytesRef;
2525
import org.apache.lucene.util.NumericUtils;
26+
import org.elasticsearch.cluster.metadata.IndexMetadata;
2627
import org.elasticsearch.common.breaker.NoopCircuitBreaker;
2728
import org.elasticsearch.common.logging.LogConfigurator;
2829
import org.elasticsearch.common.lucene.Lucene;
@@ -111,6 +112,15 @@ public class ValuesSourceReaderBenchmark {
111112
BigArrays.NON_RECYCLING_INSTANCE
112113
);
113114

115+
public static IndexSettings defaultIndexSettings() {
116+
IndexMetadata INDEX_METADATA = IndexMetadata.builder("index")
117+
.settings(Settings.builder().put(IndexMetadata.SETTING_VERSION_CREATED, IndexVersion.current()))
118+
.numberOfShards(1)
119+
.numberOfReplicas(0)
120+
.build();
121+
return new IndexSettings(INDEX_METADATA, Settings.EMPTY);
122+
}
123+
114124
static {
115125
// Smoke test all the expected values and force loading subclasses more like prod
116126
selfTest();
@@ -223,7 +233,7 @@ private static BlockLoader blockLoader(String name) {
223233
Lucene.KEYWORD_ANALYZER,
224234
Lucene.KEYWORD_ANALYZER,
225235
Lucene.KEYWORD_ANALYZER,
226-
new KeywordFieldMapper.Builder(name, IndexVersion.current()).docValues(ft.docValuesType() != DocValuesType.NONE),
236+
new KeywordFieldMapper.Builder(name, defaultIndexSettings()).docValues(ft.docValuesType() != DocValuesType.NONE),
227237
syntheticSource
228238
).blockLoader(new MappedFieldType.BlockLoaderContext() {
229239
@Override

docs/changelog/130857.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 130857
2+
summary: Improving statsByShard performance when the number of shards is very large
3+
area: Stats
4+
type: bug
5+
issues:
6+
- 97222

docs/changelog/137395.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 137395
2+
summary: Fix attribute only in full text function not found
3+
area: ES|QL
4+
type: bug
5+
issues:
6+
- 137396

docs/changelog/137430.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 137430
2+
summary: ES|QL - Full text functions accept null as field parameter
3+
area: "ES|QL"
4+
type: bug
5+
issues:
6+
- 136608

docs/changelog/137455.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 137455
2+
summary: Preview index request
3+
area: Transform
4+
type: enhancement
5+
issues: []

docs/changelog/137476.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 137476
2+
summary: Handle missing geotile buckets
3+
area: Transform
4+
type: bug
5+
issues:
6+
- 126591

docs/changelog/137533.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 137533
2+
summary: Speed up sorts on secondary sort fields
3+
area: Search
4+
type: enhancement
5+
issues: []

docs/changelog/137637.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 137637
2+
summary: Fix Bug in `RankDocRetrieverBuilder` when `from` is set to Default (-1)
3+
area: Search
4+
type: bug
5+
issues: []

docs/changelog/137660.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
pr: 137660
2+
summary: Improve concurrency design of `GeoIpDownloader`
3+
area: Ingest Node
4+
type: bug
5+
issues:
6+
- 135158
7+
- 130681
8+
- 135132
9+
- 133597

docs/changelog/137671.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 137671
2+
summary: "[LTR] Fix feature display order when using explain"
3+
area: Search
4+
type: bug
5+
issues: []

0 commit comments

Comments
 (0)