CyberEye.CommonElasticsearch.Lib
3.0.34
dotnet add package CyberEye.CommonElasticsearch.Lib --version 3.0.34
NuGet\Install-Package CyberEye.CommonElasticsearch.Lib -Version 3.0.34
<PackageReference Include="CyberEye.CommonElasticsearch.Lib" Version="3.0.34" />
<PackageVersion Include="CyberEye.CommonElasticsearch.Lib" Version="3.0.34" />
<PackageReference Include="CyberEye.CommonElasticsearch.Lib" />
paket add CyberEye.CommonElasticsearch.Lib --version 3.0.34
#r "nuget: CyberEye.CommonElasticsearch.Lib, 3.0.34"
#:package CyberEye.CommonElasticsearch.Lib@3.0.34
#addin nuget:?package=CyberEye.CommonElasticsearch.Lib&version=3.0.34
#tool nuget:?package=CyberEye.CommonElasticsearch.Lib&version=3.0.34
CyberEye.CommonElasticsearch.Lib
Khởi tạo Elastic.Clients.Elasticsearch, helper và các kiểu dùng chung cho Elasticsearch. Không có cam kết tương thích OpenSearch nếu chưa kiểm thử riêng.
Target framework: net8.0.
Cài đặt
dotnet add package CyberEye.CommonElasticsearch.Lib
Cần cấu hình NuGet feed của dự án và chọn phiên bản tương thích với các package CyberEye khác trong host.
Đăng ký client
using Ce.CommonElasticsearch.Lib.StartupExtensions;
builder.Services.AddElasticsearchClient(builder.Configuration);
{
"Elasticsearch": {
"UseElasticsearch": true,
"Uris": ["http://localhost:9200"]
}
}
Client Elastic.Clients.Elasticsearch.ElasticsearchClient được đăng ký singleton. Chỉ đăng ký khi sử dụng Elasticsearch; resolver báo lỗi nếu bị tắt hoặc không có URI. Cấu hình User/Password qua secret store nếu server yêu cầu xác thực.
Index provider, mapping và repository nghiệp vụ thuộc Ce.Elasticsearch.Lib hoặc host. Package không định nghĩa IElasticsearchClient trừu tượng như ví dụ client NEST cũ.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- CyberEye.Configuration.Lib (>= 3.0.34)
- CyberEye.SharedSql.Lib (>= 3.0.34)
- Elastic.Clients.Elasticsearch (>= 8.17.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on CyberEye.CommonElasticsearch.Lib:
| Package | Downloads |
|---|---|
|
CyberEye.HealthCheck.Lib
Package chứa các thư viện, hàm tiện ích về HealthChecks |
|
|
CyberEye.CommonConnector.Lib
Package các common về Cdc & Kafka Connect |
|
|
CyberEye.Elasticsearch.Lib
Package cung cấp CRUD tương tác với NoSql Elasticsearch |
|
|
CyberEye.Observability.Lib
Package cung cấp các cấu hình về Observability, Monitoring, Telemetry như Metrics, Traces |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.34 | 0 | 11/15/2026 |
| 3.0.33 | 0 | 11/15/2026 |
| 3.0.32 | 0 | 11/15/2026 |
| 3.0.31 | 45 | 11/15/2026 |
| 3.0.30 | 56 | 11/15/2026 |
| 3.0.29 | 78 | 11/13/2026 |
| 3.0.28 | 292 | 11/6/2026 |
| 3.0.27 | 299 | 9/17/2026 |
| 3.0.26 | 291 | 9/8/2026 |
| 3.0.25 | 335 | 8/22/2026 |
| 3.0.24 | 309 | 8/10/2026 |
| 3.0.23 | 303 | 8/9/2026 |
| 3.0.22 | 393 | 8/1/2026 |
| 3.0.21 | 345 | 7/28/2026 |
| 3.0.20 | 366 | 7/27/2026 |
| 3.0.19 | 352 | 7/27/2026 |
| 3.0.18 | 332 | 7/17/2026 |
| 3.0.17 | 350 | 7/13/2026 |
| 3.0.16 | 337 | 7/12/2026 |
| 3.0.15 | 333 | 7/10/2026 |