Skip to content

Upgrade to Elastic.Clients.Elasticsearch #438

Upgrade to Elastic.Clients.Elasticsearch

Upgrade to Elastic.Clients.Elasticsearch #438

Triggered via pull request September 12, 2024 21:43
Status Failure
Total duration 41s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L103
Operator '??=' cannot be applied to operands of type 'Func<TypeMappingDescriptor<T>, TypeMapping>' and 'lambda expression'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L107
'CreateIndexRequestDescriptor' does not contain a definition for 'Map' and no accessible extension method 'Map' accepting a first argument of type 'CreateIndexRequestDescriptor' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L114
Operator '??=' cannot be applied to operands of type 'Func<TypeMappingDescriptor<T>, TypeMapping>' and 'lambda expression'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L117
'CreateIndexRequestDescriptor' does not contain a definition for 'Map' and no accessible extension method 'Map' accepting a first argument of type 'CreateIndexRequestDescriptor' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L127
Operator '??=' cannot be applied to operands of type 'Func<CreateIndexRequestDescriptor, CreateIndexRequest>' and 'lambda expression'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L128
Argument 2: cannot convert from 'System.Func<Elastic.Clients.Elasticsearch.IndexManagement.CreateIndexRequestDescriptor, Elastic.Clients.Elasticsearch.IndexManagement.CreateIndexRequest>' to 'System.Action<Elastic.Clients.Elasticsearch.IndexManagement.CreateIndexRequestDescriptor>'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L138
Argument 1: cannot convert from 'System.Collections.Generic.List<Elastic.Clients.Elasticsearch.IndexName>' to 'string'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/InvertQueryTests.cs#L147
'InvertTest' does not contain a definition for 'Name' and no accessible extension method 'Name' accepting a first argument of type 'InvertTest' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/InvertQueryTests.cs#L148
'InvertTest' does not contain a definition for 'Name' and no accessible extension method 'Name' accepting a first argument of type 'InvertTest' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/InvertQueryTests.cs#L149
'InvertTest' does not contain a definition for 'Name' and no accessible extension method 'Name' accepting a first argument of type 'InvertTest' could be found (are you missing a using directive or an assembly reference?)
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L500
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L501
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L516
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L517
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L538
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L539
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L554
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L555
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/ElasticExtensions.cs#L201
'ElasticsearchClient.Ping()' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticQueryParserTests.cs#L244
'ElasticsearchClient.Index<TDocument>(TDocument, Action<IndexRequestDescriptor<TDocument>>)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'