Skip to content

feat: Added Elasticsearch database. #399

feat: Added Elasticsearch database.

feat: Added Elasticsearch database. #399

Triggered via pull request June 20, 2024 12:32
Status Failure
Total duration 3m 17s
Artifacts

pull-request.yml

on: pull_request
Build and test  /  Build, test and publish
3m 5s
Build and test / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L17
'ElasticsearchClient' does not contain a definition for 'GetCollectionAsync' and no accessible extension method 'GetCollectionAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L33
'ElasticsearchClient' does not contain a definition for 'ListCollectionsAsync' and no accessible extension method 'ListCollectionsAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L47
'ElasticsearchClient' does not contain a definition for 'CreateCollectionAsync' and no accessible extension method 'CreateCollectionAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
The type or namespace name 'MyDoc' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L70
'TermQueryDescriptor<MyDoc>' does not contain a definition for 'User' and no accessible extension method 'User' accepting a first argument of type 'TermQueryDescriptor<MyDoc>' could be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L70
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task<Task<VectorSearchResponse>>'.
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L53
'ElasticsearchClient' does not contain a definition for 'ListCollectionsAsync' and no accessible extension method 'ListCollectionsAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L61
'ElasticsearchClient' does not contain a definition for 'CreateCollectionAsync' and no accessible extension method 'CreateCollectionAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
Build and test / Build, test and publish: src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
Build and test / Build, test and publish: src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
Build and test / Build, test and publish: src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Build and test / Build, test and publish: src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Build and test / Build, test and publish: src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
Build and test / Build, test and publish: src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
Build and test / Build, test and publish: src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)