Check whether #268's malformed 'types' field JSON fix still applies to main

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
databases

Hướng nghiên cứu

Read the current data-loading/setup-and-load-solr.sh and the checked-in configset to find where the types field is defined. Load a fresh core and check whether types has the intended stored and multiValued settings; fix the definition if needed. Done when the loaded core has both settings and schema setup reports no silent 400 error.

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

Mô tả

performance Size: XS

#268 reported that the types field add in data-loading/setup-and-load-solr.sh had malformed JSON — a missing comma between stored:true and multiValued:true — which Solr was silently 400-ing, so the field was never getting the intended definition.

main has since rewritten that script (#278, "Speed up and simplify Solr data loading"), so the bug may already be gone, may have been carried over, or may no longer apply if the schema now comes from the checked-in configset rather than runtime field adds.

Worth a quick check against current main: confirm whether the types field ends up with the intended stored/multiValued settings in a freshly loaded core, and fix if not. Silent 400s on schema setup are easy to miss.

Ngôn ngữ chính
Python
Star
5
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không 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 NCATSTranslator/NameResolution

Tất cả issue của NCATSTranslator/NameResolution

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.