Skip to content

Upgrade to Elastic.Clients.Elasticsearch #514

Upgrade to Elastic.Clients.Elasticsearch

Upgrade to Elastic.Clients.Elasticsearch #514

Triggered via pull request November 22, 2024 18:23
Status Failure
Total duration 1m 20s
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>, TypeMappingDescriptor<T>>' and 'lambda expression'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L106
'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/AggregationParserTests.cs#L40
Argument 1: cannot convert from 'Foundatio.Parsers.ElasticQueries.AggregationMap' to 'System.Func<Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<Foundatio.Parsers.ElasticQueries.Tests.MyType>>, Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<Foundatio.Parsers.ElasticQueries.Tests.MyType>>>'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/AggregationParserTests.cs#L45
'MinAggregationDescriptor<MyType>' does not contain a definition for 'Meta' and no accessible extension method 'Meta' accepting a first argument of type 'MinAggregationDescriptor<MyType>' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/CustomVisitorTests.cs#L36
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L113
Operator '??=' cannot be applied to operands of type 'Func<TypeMappingDescriptor<T>, TypeMappingDescriptor<T>>' and 'lambda expression'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L116
'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#L137
Argument 1: cannot convert from 'System.Collections.Generic.List<Elastic.Clients.Elasticsearch.IndexName>' to 'string'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/AggregationParserTests.cs#L72
Argument 1: cannot convert from 'Foundatio.Parsers.ElasticQueries.AggregationMap' to 'System.Func<Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<Foundatio.Parsers.ElasticQueries.Tests.MyType>>, Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<Foundatio.Parsers.ElasticQueries.Tests.MyType>>>'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/AggregationParserTests.cs#L77
No overload for method 'Min' takes 2 arguments
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.SqlQueries.Tests/SqlQueryParserTests.cs#L336
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.