Repository navigation
איתור מקורות: החלק שבשאילתה בטור אינו מתחלף בחלק אחר (#5748) - #5764
Merged
Merged
Conversation
This was referenced Nov 22, 2026
איתור מקורות: מילה קטועה, כותרת מדויקת לפני כתיב חלופי, וספר לפני מפרשיו (#5721, #5710, #5741)
#5738
Merged
בשאילתה שנוקבת בחלק ("טור יו"ד קפד ג") הנסיגה לשורה חלקית בחלק אחר מדולגת, ותוכן העניינים החלופי נחפש עם החלק. "אוח" מזוהה כראשי תיבות של כותרת השורש "אורח חיים".
Y-PLONI
force-pushed
the
fix/findref-tur-seif-5748
branch
from
November 22, 2026 16:04
4c5c1d4 to
f9cd14c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
חלק מ-#5748 (הצד של הספרייה: Otzaria/otzaria-library#1525)
מה היה שבור
בטור, המספר האחרון ב-heRef של שורה הוא פסקה של ספריא ולא סעיף בשו"ע ("טור, חושן משפט, שח, ו"). בשאילתה שנקבה בחלק:
השינוי
_resolveExactLines: הנסיגה החלקית מדולגת לספר שהחלק שבשאילתה נמצא בתוכן העניינים שלו. זנב כינוי שאינו חלק ("חזקוני על התורה", "ספר הזוהר") ממשיך לקבל את הנסיגה, כמו קודם._planTocLookupsושתי לולאות החיפוש בתוכן העניינים החלופי (המאגר וה-worker): החיפוש בתוכן העניינים החלופי כולל את החלק, ובלעדיו רק כשגם ה-TOC נזקק לנסיגה._searchAltTocFlat: הטוקן הראשון יכול להיות ראשי תיבות של כותרת השורש ("אוח" ← "אורח חיים"), כמו בתוכן העניינים הרגיל, אבל לא כשהוא מספר עברי.בדיקות
find_ref_line_level_test: חלק שנקוב בשאילתה אינו מוצע בחלק אחר; סעיף מתוכן העניינים החלופי רק בחלק שנקוב.seforim_repository_alt_toc_test: ראשי התיבות של החלק, גם בבנייה הפר-ספר וגם מהאינדקס הגלובלי.flutter analyze: נקי.flutter test test/find_ref test/migration test/book_aliases: הכול עובר חוץ מ"200 ספרים באותו שם" ו"כיבוי 'הוסף למסד הנתונים' מקטין את user_books.db", שנכשלים גם ב-dev בלי השינוי. כמה בדיקות של ספרים אישיים ושל כיווץ WAL נכשלו בהרצה המלאה בעומס ועוברות כשמריצים אותן לבד.מגבלות ידועות
PR חופפים
find_ref_repository.dart): מתמזג בלי קונפליקט.seforim_repository.dart): מתמזג בלי קונפליקט.