Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Track full-content local search with a performance budget

Đang mở
#471 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
42/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ệ
python

Hướng nghiên cứu

Bắt đầu bằng cách xác định cấu hình OINK cho params.offline_search_index và bộ truy vấn tiếng Anh/tiếng Trung cố định được dùng cho tìm kiếm bản tóm tắt. Đo kích thước được tạo ra và kích thước gzip, việc truyền tải, thời gian phân tích cú pháp/lập chỉ mục, bộ nhớ, hành vi bộ nhớ đệm, recall, ranking, cũng như hành vi bàn phím/di động/ngoại tuyến của Chromium trên các ngôn ngữ và phiên bản đã nêu. Được xem là hoàn tất khi các ngân sách đã thống nhất và các biện pháp bảo vệ tải đã được kiểm thử, sau đó có quyết định được lập tài liệu về việc áp dụng content hoặc giữ lại summary.

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

Mô tả

Context

The OINK site intentionally keeps native local search on the summary index while the optional Ask AI integration is added. Native search must remain independent of any external AI provider.

A full-content index can improve recall, but the current planning estimate is roughly 233–243 KiB gzip per language per version. Across five versions and two languages, enabling it mechanically would multiply download, parse, and memory cost for users who only need the current documentation.

Current baseline

  • params.offline_search_index: summary
  • Search metadata and restrained boosts improve the highest-value entry pages.
  • Ask AI is an optional tail action; it does not replace or modify native results.
  • Historical versions remain independently addressable and must not silently load every other version's index.

Deferred scope

Do not enable content mode as part of the current OINK site-improvement delivery. This issue tracks a separate, evidence-based decision.

Evaluation requirements

  • Measure generated and gzip size for each language and version on an immutable source revision.
  • Measure first-open transfer, parse/index time, memory, and repeat-open cache behavior on desktop and representative mobile hardware.
  • Compare recall and ranking against the fixed English/Chinese query set used for the summary index.
  • Define per-language/per-version budgets and a loading strategy before implementation.
  • Preserve explicit load-failure/retry behavior and ensure one failed historical index cannot break latest search.
  • Verify keyboard, mobile, and offline behavior in Chromium.

Acceptance boundary

Adopt full-content indexing only if measured recall gains justify the transfer/runtime cost and all agreed budgets pass. Otherwise retain summary and document the result. The 233–243 KiB figure above is a planning estimate, not current-HEAD measurement evidence.

Ngôn ngữ chính
Python
Star
71
Fork
125
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
28

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 apache/hugegraph-doc

Tất cả issue của apache/hugegraph-doc

Issue tương tự

Thêm issue về Python

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.