Skip to content

Commit b2082ba

Browse files
committed
update to es6-rc2 and solved a BC break on innerHits Query
1 parent 0a4c708 commit b2082ba

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file based on the
55
## [Unreleased](https://github.com/ruflin/Elastica/compare/6.0.0-beta1...master)
66

77
### Backward Compatibility Breaks
8+
- Return the [_source of inner hit nested](https://github.com/elastic/elasticsearch/pull/26982) as is without wrapping it into its full path context [#1398](https://github.com/ruflin/Elastica/pull/1398)
89

910
### Bugfixes
1011

env/elasticsearch/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.elastic.co/elasticsearch/elasticsearch:6.0.0-rc1
1+
FROM docker.elastic.co/elasticsearch/elasticsearch:6.0.0-rc2
22
MAINTAINER Nicolas Ruflin <[email protected]>
33

44
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment

test/Elastica/Query/InnerHitsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public function testInnerHitsNested()
343343
$innerHitsResults = $firstResult->getInnerHits();
344344

345345
$this->assertEquals($firstResult->getId(), 4);
346-
$this->assertEquals($innerHitsResults['users']['hits']['hits'][0]['_source']['users']['name'], 'Newton');
346+
$this->assertEquals($innerHitsResults['users']['hits']['hits'][0]['_source']['name'], 'Newton');
347347
}
348348

349349
/**

0 commit comments

Comments
 (0)