File tree 3 files changed +11
-3
lines changed
Elasticsearch.Net/Connection
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Target "BuildApp" (fun _ ->
40
40
41
41
//Scan for xml docs and patch them to replace <inheritdoc /> with the documentation
42
42
//from their interfaces
43
- !! " build/output/Nest/Nest.xml" |> Seq.iter( fun f -> PatchXmlDoc f)
43
+ // !! "build/output/Nest/Nest.xml" |> Seq.iter(fun f -> PatchXmlDoc f)
44
44
45
45
CopyFile " build/output/Elasticsearch.Net/init.ps1" " build/elasticsearch-init.ps1"
46
46
Original file line number Diff line number Diff line change @@ -202,7 +202,13 @@ private ElasticsearchResponse<T> DoRequest<T>(TransportRequestState<T> requestSt
202
202
&& requestState . RequestConfiguration != null
203
203
&& requestState . RequestConfiguration . AllowedStatusCodes . All ( i => i != streamResponse . HttpStatusCode ) ) )
204
204
{
205
- error = this . Serializer . Deserialize < ElasticsearchServerError > ( streamResponse . Response ) ;
205
+ if ( streamResponse . Response != null )
206
+ error = this . Serializer . Deserialize < ElasticsearchServerError > ( streamResponse . Response ) ;
207
+ else
208
+ error = new ElasticsearchServerError
209
+ {
210
+ Status = streamResponse . HttpStatusCode . GetValueOrDefault ( - 1 )
211
+ } ;
206
212
if ( this . Settings . ThrowOnElasticsearchServerExceptions )
207
213
throw new ElasticsearchServerException ( error ) ;
208
214
}
Original file line number Diff line number Diff line change 323
323
<None Include =" Core\Map\Properties\AttachmentProperty.json" >
324
324
<CopyToOutputDirectory >Always</CopyToOutputDirectory >
325
325
</None >
326
- <None Include =" Core\Map\Properties\DocValuesProperty.json" />
326
+ <None Include =" Core\Map\Properties\DocValuesProperty.json" >
327
+ <CopyToOutputDirectory >Always</CopyToOutputDirectory >
328
+ </None >
327
329
<None Include =" Core\Map\Properties\GeoShapeProperty.json" >
328
330
<CopyToOutputDirectory >Always</CopyToOutputDirectory >
329
331
</None >
You can’t perform that action at this time.
0 commit comments