Skip to content

Commit dcfb1f1

Browse files
committed
Merge branch '6.x' of github.com:elastic/elasticsearch into 6.x
2 parents c08dd01 + 226aad1 commit dcfb1f1

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

docs/reference/search/request-body.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ And here is a sample response:
9090

9191
Set to `false` to return an overall failure if the request would produce partial
9292
results. Defaults to true, which will allow partial results in the case of timeouts
93-
or partial failures.
93+
or partial failures. This default can be controlled using the cluster-level setting
94+
`search.default_allow_partial_results`.
9495

9596
`terminate_after`::
9697

docs/reference/search/uri-request.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,6 @@ more details on the different types of search that can be performed.
125125

126126
|`allow_partial_search_results` |Set to `false` to return an overall failure if the request would produce
127127
partial results. Defaults to true, which will allow partial results in the case of timeouts
128-
or partial failures..
128+
or partial failures. This default can be controlled using the cluster-level setting
129+
`search.default_allow_partial_results`.
129130
|=======================================================================

docs/reference/setup/important-settings/network-host.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ location on a single node. This can be useful for testing Elasticsearch's
99
ability to form clusters, but it is not a configuration recommended for
1010
production.
1111

12-
In order to communicate and to form a cluster with nodes on other servers, your
12+
In order to form a cluster with nodes on other servers, your
1313
node will need to bind to a non-loopback address. While there are many
1414
<<modules-network,network settings>>, usually all you need to configure is
1515
`network.host`:

libs/core/src/test/java/org/elasticsearch/common/CharArraysTests.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ public void testCharsBeginsWith() {
5555
assertTrue(CharArrays.charsBeginsWith(prefix, prefixedValue));
5656

5757
final String modifiedPrefix = randomBoolean() ? prefix.substring(1) : prefix.substring(0, prefix.length() - 1);
58-
final char[] nonMatchingValue = modifiedPrefix.concat(randomAlphaOfLengthBetween(0, 12)).toCharArray();
58+
char[] nonMatchingValue;
59+
do {
60+
nonMatchingValue = modifiedPrefix.concat(randomAlphaOfLengthBetween(0, 12)).toCharArray();
61+
} while (new String(nonMatchingValue).startsWith(prefix));
5962
assertFalse(CharArrays.charsBeginsWith(prefix, nonMatchingValue));
6063
assertTrue(CharArrays.charsBeginsWith(modifiedPrefix, nonMatchingValue));
6164
}

server/src/test/java/org/elasticsearch/cluster/ack/AckIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
package org.elasticsearch.cluster.ack;
2121

22+
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
2223
import org.elasticsearch.action.admin.cluster.reroute.ClusterRerouteResponse;
2324
import org.elasticsearch.action.admin.cluster.state.ClusterStateResponse;
2425
import org.elasticsearch.action.admin.indices.create.CreateIndexResponse;
@@ -50,6 +51,7 @@
5051
import static org.hamcrest.Matchers.notNullValue;
5152

5253
@ClusterScope(minNumDataNodes = 2)
54+
@AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/32767")
5355
public class AckIT extends ESIntegTestCase {
5456

5557
@Override

server/src/test/java/org/elasticsearch/search/scroll/DuelScrollIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
import com.carrotsearch.hppc.IntHashSet;
2323
import com.carrotsearch.randomizedtesting.generators.RandomPicks;
24+
2425
import org.elasticsearch.action.index.IndexRequestBuilder;
2526
import org.elasticsearch.action.search.SearchResponse;
2627
import org.elasticsearch.action.search.SearchType;
@@ -256,6 +257,7 @@ private void testDuelIndexOrder(SearchType searchType, boolean trackScores, int
256257
}
257258
}
258259

260+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/32682")
259261
public void testDuelIndexOrderQueryThenFetch() throws Exception {
260262
final SearchType searchType = RandomPicks.randomFrom(random(), Arrays.asList(SearchType.QUERY_THEN_FETCH,
261263
SearchType.DFS_QUERY_THEN_FETCH));

0 commit comments

Comments
 (0)