Skip to content

Commit c9f41fa

Browse files
committed
Merge changes.txt conflict
2 parents 3871aa5 + c3dc16e commit c9f41fa

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

changes.txt

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
CHANGES
22

33
2014-10-05
4-
- ResultSet creation moved to static ResultSet::create() method #690
5-
- Accept an options array at Type::updateDocument() #686
4+
- ResultSet creation moved to static ResultSet::create() method #690
5+
- Accept an options array at Type::updateDocument() #686
6+
- Improve exception handling in Type::getDocument() #693
67

78
2014-10-04
89
- Release v1.3.4.0
910
- Update to elasticsearch 1.3.4 #691
1011

1112
2014-09-22
12-
- Update the branch alias in composer.json to match the library version #683
13+
- Update the branch alias in composer.json to match the library version #683
1314

1415
2014-09-16
15-
- Update license in composer.json to match project #681
16+
- Update license in composer.json to match project #681
1617

1718
2014-09-08
18-
- Delete execution permission from non-executable files #677
19+
- Delete execution permission from non-executable files #677
1920

2021
2014-08-25
21-
- Top-level filter parameter in search has been renamed to post_filter #669 #670
22-
- Deprecated: Elastica\Query::setFilter() is deprecated. Use Elastica\Query::setPostFilter() instead. #669
23-
- Deprecated: Elastica\Query::setPostFilter() passing filter as array is deprecated. Pass instance of AbstractFilter instead. #669
22+
- Top-level filter parameter in search has been renamed to post_filter #669 #670
23+
- Deprecated: Elastica\Query::setFilter() is deprecated. Use Elastica\Query::setPostFilter() instead. #669
24+
- Deprecated: Elastica\Query::setPostFilter() passing filter as array is deprecated. Pass instance of AbstractFilter instead. #669
2425

2526
2014-08-22
26-
- Fixed escaping of / character in Elastica\Util::escapeTerm(), removed usage of JSON_UNESCAPED_SLASHES in Elastica\JSON #660
27+
- Fixed escaping of / character in Elastica\Util::escapeTerm(), removed usage of JSON_UNESCAPED_SLASHES in Elastica\JSON #660
2728

2829
2014-08-06
29-
- Add connection pool and connection strategy
30+
- Add connection pool and connection strategy
3031

3132
2014-07-26
3233
- Release v1.3.0.0

lib/Elastica/Type.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public function getDocument($id, $options = array())
230230
$response = $this->request($path, Request::GET, array(), $options);
231231
$result = $response->getData();
232232
} catch (ResponseException $e) {
233-
throw new NotFoundException('doc id ' . $id . ' not found');
233+
throw new NotFoundException('unable to retrieve doc id ' . $id. ': '.$e->getMessage(), $e->getCode(), $e);
234234
}
235235

236236
$info = $response->getTransferInfo();

0 commit comments

Comments
 (0)