mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Fix test failure resulting from #8872 change.
This commit is contained in:
parent
75e7ce9c51
commit
1e67b9edbd
@ -19,6 +19,7 @@
|
||||
|
||||
package org.elasticsearch.nested;
|
||||
|
||||
import com.carrotsearch.randomizedtesting.annotations.Seed;
|
||||
import org.apache.lucene.search.Explanation;
|
||||
import org.elasticsearch.action.admin.cluster.health.ClusterHealthStatus;
|
||||
import org.elasticsearch.action.admin.cluster.stats.ClusterStatsResponse;
|
||||
@ -1211,7 +1212,7 @@ public class SimpleNestedTests extends ElasticsearchIntegrationTest {
|
||||
|
||||
// only when querying with nested the fixed bitsets are loaded
|
||||
SearchResponse searchResponse = client().prepareSearch("test")
|
||||
.setQuery(nestedQuery("array1", termQuery("field1", "value1")))
|
||||
.setQuery(nestedQuery("array1", termQuery("array1.field1", "value1")))
|
||||
.get();
|
||||
assertNoFailures(searchResponse);
|
||||
assertThat(searchResponse.getHits().totalHits(), equalTo(5l));
|
||||
|
Loading…
x
Reference in New Issue
Block a user