Extend filter metadata with exact integers, dates, IPs, JSON paths, and hierarchical facets

Đang mở
#57 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
node.js, rust
Lĩnh vực
api, database, search

Hướng nghiên cứu

Start with the public API in ts/native.ts and the native implementation in src/engine.rs, then review the wrapper contract in README.md. The issue calls for defining several new value and query contracts plus protocol and schema versioning, so first map how the existing metadata is represented and persisted. Done means the listed acceptance criteria are implemented, documented, and covered by boundary, reopen-compatibility, and rebuild-error tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Outcome

Extend filter metadata with exact integers, dates, IPs, JSON paths, and hierarchical facets.

Current behavior

Verified by source inspection of the public API and native implementation at the assessed revision; no runtime reproduction was performed. Filter metadata currently supports string, number (f64), and Boolean values. There are no public exact 64-bit integer, date, IP, JSON-path, or hierarchical facet types.

Acceptance criteria

  • Define lossless Node-to-Rust representations for signed/unsigned 64-bit integers, avoiding unsafe JavaScript-number coercion.
  • Define explicit date precision/timezone and IP normalization/range semantics.
  • Add an explicitly scoped JSON-path and hierarchical facet schema/query contract, including missing and multivalued semantics.
  • Version the packed protocol and persisted schema identity; test boundaries, reopen compatibility, and rebuild errors.
  • Document numeric timestamps as an existing date workaround and distinguish exact typed values from analyzed text.

References and scope

Parent: Epic: Extend fulltext search capabilities beyond the initial wrapper API.

Tantivy capability. Wrapper contract. This is proposed standalone-library capability with no committed release. Application-specific authorization, source projection, and product API integration are outside this issue.

Comment generated by kAIle (GPT-6)

Ngôn ngữ chính
Rust
Star
3
Fork
0
Merge trung bình
15 giờ 12 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của HarperFast/fulltext

Tất cả issue của HarperFast/fulltext

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.