Skip to content

Commit f3b96e8

Browse files
author
elasticsearchmachine
committed
Merge remote-tracking branch 'origin/main' into lucene_snapshot
2 parents 14451f2 + 3d1d495 commit f3b96e8

File tree

64 files changed

+164
-311
lines changed

Some content is hidden

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

64 files changed

+164
-311
lines changed

muted-tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,30 @@ tests:
306306
- class: org.elasticsearch.integration.KibanaUserRoleIntegTests
307307
method: testValidateQuery
308308
issue: https://github.com/elastic/elasticsearch/issues/113328
309+
- class: org.elasticsearch.index.mapper.LongRangeFieldMapperTests
310+
method: testSyntheticSourceKeepArrays
311+
issue: https://github.com/elastic/elasticsearch/issues/113335
312+
- class: org.elasticsearch.xpack.security.support.SecurityIndexManagerIntegTests
313+
method: testOnIndexAvailableForSearchIndexAlreadyAvailable
314+
issue: https://github.com/elastic/elasticsearch/issues/113336
315+
- class: org.elasticsearch.xpack.security.authz.SecurityScrollTests
316+
method: testScrollIsPerUser
317+
issue: https://github.com/elastic/elasticsearch/issues/113338
318+
- class: org.elasticsearch.index.mapper.IntegerRangeFieldMapperTests
319+
method: testSyntheticSourceKeepAll
320+
issue: https://github.com/elastic/elasticsearch/issues/113339
321+
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
322+
method: test {p0=analytics/top_metrics/sort by scaled float field}
323+
issue: https://github.com/elastic/elasticsearch/issues/113340
324+
- class: org.elasticsearch.integration.KibanaUserRoleIntegTests
325+
method: testFieldMappings
326+
issue: https://github.com/elastic/elasticsearch/issues/113341
327+
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
328+
method: test {yaml=reference/ccr/apis/follow/post-resume-follow/line_84}
329+
issue: https://github.com/elastic/elasticsearch/issues/113343
330+
- class: org.elasticsearch.integration.KibanaUserRoleIntegTests
331+
method: testSearchAndMSearch
332+
issue: https://github.com/elastic/elasticsearch/issues/113345
309333

310334
# Examples:
311335
#

server/src/main/java/org/elasticsearch/index/codec/tsdb/ES87TSDBDocValuesConsumer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ public SortedNumericDocValues getSortedNumeric(FieldInfo field) throws IOExcepti
533533
int i, docValueCount;
534534

535535
@Override
536-
public long nextValue() throws IOException {
536+
public long nextValue() {
537537
return ords[i++];
538538
}
539539

@@ -543,7 +543,7 @@ public int docValueCount() {
543543
}
544544

545545
@Override
546-
public boolean advanceExact(int target) throws IOException {
546+
public boolean advanceExact(int target) {
547547
throw new UnsupportedOperationException();
548548
}
549549

server/src/main/java/org/elasticsearch/index/fielddata/AbstractBinaryDocValues.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@
1010
package org.elasticsearch.index.fielddata;
1111

1212
import org.apache.lucene.index.BinaryDocValues;
13-
import org.apache.lucene.search.DocIdSetIterator;
14-
15-
import java.io.IOException;
1613

1714
/**
18-
* Base implementation that throws an {@link IOException} for the
19-
* {@link DocIdSetIterator} APIs. This impl is safe to use for sorting and
15+
* Base implementation. This impl is safe to use for sorting and
2016
* aggregations, which only use {@link #advanceExact(int)} and
2117
* {@link #binaryValue()}.
2218
*/
@@ -28,12 +24,12 @@ public int docID() {
2824
}
2925

3026
@Override
31-
public int nextDoc() throws IOException {
27+
public int nextDoc() {
3228
throw new UnsupportedOperationException();
3329
}
3430

3531
@Override
36-
public int advance(int target) throws IOException {
32+
public int advance(int target) {
3733
throw new UnsupportedOperationException();
3834
}
3935

server/src/main/java/org/elasticsearch/index/fielddata/AbstractNumericDocValues.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
public abstract class AbstractNumericDocValues extends NumericDocValues {
2424

2525
@Override
26-
public int nextDoc() throws IOException {
26+
public int nextDoc() {
2727
throw new UnsupportedOperationException();
2828
}
2929

3030
@Override
31-
public int advance(int target) throws IOException {
31+
public int advance(int target) {
3232
throw new UnsupportedOperationException();
3333
}
3434

server/src/main/java/org/elasticsearch/index/fielddata/AbstractSortedDocValues.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
public abstract class AbstractSortedDocValues extends SortedDocValues {
2424

2525
@Override
26-
public int nextDoc() throws IOException {
26+
public int nextDoc() {
2727
throw new UnsupportedOperationException();
2828
}
2929

3030
@Override
31-
public int advance(int target) throws IOException {
31+
public int advance(int target) {
3232
throw new UnsupportedOperationException();
3333
}
3434

server/src/main/java/org/elasticsearch/index/fielddata/AbstractSortedNumericDocValues.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public int nextDoc() throws IOException {
3333
}
3434

3535
@Override
36-
public int advance(int target) throws IOException {
36+
public int advance(int target) {
3737
throw new UnsupportedOperationException();
3838
}
3939

server/src/main/java/org/elasticsearch/index/fielddata/AbstractSortedSetDocValues.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ public int docID() {
2828
}
2929

3030
@Override
31-
public int nextDoc() throws IOException {
31+
public int nextDoc() {
3232
throw new UnsupportedOperationException();
3333
}
3434

3535
@Override
36-
public int advance(int target) throws IOException {
36+
public int advance(int target) {
3737
throw new UnsupportedOperationException();
3838
}
3939

server/src/main/java/org/elasticsearch/index/fielddata/AbstractSortingNumericDocValues.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ public int docID() {
3636
}
3737

3838
@Override
39-
public int nextDoc() throws IOException {
39+
public int nextDoc() {
4040
throw new UnsupportedOperationException();
4141
}
4242

4343
@Override
44-
public int advance(int target) throws IOException {
44+
public int advance(int target) {
4545
throw new UnsupportedOperationException();
4646
}
4747

server/src/main/java/org/elasticsearch/index/fielddata/BinaryScriptFieldData.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,5 @@ public long ramBytesUsed() {
6666
return 0;
6767
}
6868

69-
@Override
70-
public void close() {
71-
72-
}
7369
}
7470
}

server/src/main/java/org/elasticsearch/index/fielddata/DoubleScriptFieldData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public DoubleScriptFieldData build(IndexFieldDataCache cache, CircuitBreakerServ
4343
}
4444

4545
private final String fieldName;
46-
DoubleFieldScript.LeafFactory leafFactory;
46+
final DoubleFieldScript.LeafFactory leafFactory;
4747
private final ToScriptFieldFactory<SortedNumericDoubleValues> toScriptFieldFactory;
4848

4949
private DoubleScriptFieldData(

0 commit comments

Comments
 (0)