Skip to content

WIP - Upgrade to the new Elasticsearch client #414

WIP - Upgrade to the new Elasticsearch client

WIP - Upgrade to the new Elasticsearch client #414

Triggered via push September 3, 2024 16:53
Status Failure
Total duration 45s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/SearchDescriptorExtensions.cs#L13
Cannot convert type 'Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<T>>' to 'Elastic.Clients.Elasticsearch.Aggregations.Aggregation'
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/SearchDescriptorExtensions.cs#L24
Operator '==' cannot be applied to operands of type 'method group' and '<null>'
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/SearchDescriptorExtensions.cs#L25
Cannot assign to 'Sort' because it is a 'method group'
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/SearchDescriptorExtensions.cs#L27
'SearchRequestDescriptor<T>.Sort(ICollection<SortOptions>?)' is a method, which is not valid in the given context
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/DefaultAggregationNodeExtensions.cs#L53
The type 'GeohashPrecision' must be a non-nullable value type in order to use it as parameter 'TEnum' in the generic type or method 'Enum.TryParse<TEnum>(string, out TEnum)'
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/DefaultAggregationNodeExtensions.cs#L59
'GeohashGridAggregation' does not contain a definition for 'Aggregations'
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/DefaultAggregationNodeExtensions.cs#L59
'AverageAggregation' does not contain a constructor that takes 2 arguments
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/DefaultAggregationNodeExtensions.cs#L61
The type or namespace name 'InlineScript' could not be found (are you missing a using directive or an assembly reference?)
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/DefaultAggregationNodeExtensions.cs#L62
'AverageAggregation' does not contain a constructor that takes 2 arguments
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/DefaultAggregationNodeExtensions.cs#L64
The type or namespace name 'InlineScript' could not be found (are you missing a using directive or an assembly reference?)
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L475
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L476
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L491
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L492
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L514
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L515
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L530
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L531
'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#L127
'ElasticsearchClient.Ping()' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L475
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'