CyberEye.Elasticsearch.Lib
3.0.34
dotnet add package CyberEye.Elasticsearch.Lib --version 3.0.34
NuGet\Install-Package CyberEye.Elasticsearch.Lib -Version 3.0.34
<PackageReference Include="CyberEye.Elasticsearch.Lib" Version="3.0.34" />
<PackageVersion Include="CyberEye.Elasticsearch.Lib" Version="3.0.34" />
<PackageReference Include="CyberEye.Elasticsearch.Lib" />
paket add CyberEye.Elasticsearch.Lib --version 3.0.34
#r "nuget: CyberEye.Elasticsearch.Lib, 3.0.34"
#:package CyberEye.Elasticsearch.Lib@3.0.34
#addin nuget:?package=CyberEye.Elasticsearch.Lib&version=3.0.34
#tool nuget:?package=CyberEye.Elasticsearch.Lib&version=3.0.34
CyberEye.Elasticsearch.Lib
CRUD, bulk indexing, truy vấn và quản lý index/alias trên Elasticsearch. Có thành phần cấu hình/fusion cho tìm kiếm vector; consumer phải xây dựng luồng hybrid phù hợp.
Target framework: net8.0.
Cài đặt
dotnet add package CyberEye.Elasticsearch.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.
Bắt đầu
- Đăng ký ElasticsearchClient qua Ce.CommonElasticsearch.Lib và cấu hình section Elasticsearch.
- Chọn interface và implementation phù hợp với kiểu document của ứng dụng.
- Đăng ký index provider/initializer theo từng service, khai báo mapping rồi kiểm tra truy vấn trên index thử nghiệm.
Không có IElasticsearchService.SearchAsync<T>(index, q ⇒ q.Query(keyword)) như một API chung ở package này. Không giả định có HybridSearchAsync tự kết hợp embedding và BM25 cho mọi consumer.
Vận hành
Reindex qua alias cần điều phối ghi đồng thời; snapshot cũ có thể ghi đè dữ liệu mới. Kiểm tra kết quả, trạng thái alias và log khi reindex thất bại.
Khi embedding không sẵn sàng, consumer quyết định fallback dựa trên IEmbeddingHealth. Fallback không xử lý thay lỗi kết nối Elasticsearch.
| 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.Caching.Lib (>= 3.0.34)
- CyberEye.CommonElasticsearch.Lib (>= 3.0.34)
- CyberEye.DataScope.Lib (>= 3.0.34)
- CyberEye.Logging.Lib (>= 3.0.34)
- Microsoft.Extensions.Hosting (>= 8.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CyberEye.Elasticsearch.Lib:
| Package | Downloads |
|---|---|
|
CyberEye.Common.Lib
Package chứa các hàm tiện ích, các base class, abstract class |
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 | 39 | 11/15/2026 |
| 3.0.30 | 48 | 11/15/2026 |
| 3.0.29 | 54 | 11/13/2026 |
| 3.0.28 | 128 | 11/6/2026 |
| 3.0.27 | 154 | 9/17/2026 |
| 3.0.26 | 145 | 9/8/2026 |
| 3.0.25 | 173 | 8/22/2026 |
| 3.0.24 | 164 | 8/10/2026 |
| 3.0.23 | 141 | 8/9/2026 |
| 3.0.22 | 194 | 8/1/2026 |
| 3.0.21 | 157 | 7/28/2026 |
| 3.0.20 | 173 | 7/27/2026 |
| 3.0.19 | 160 | 7/27/2026 |
| 3.0.18 | 166 | 7/17/2026 |
| 3.0.17 | 160 | 7/13/2026 |
| 3.0.16 | 153 | 7/12/2026 |
| 3.0.15 | 156 | 7/10/2026 |