Skip to content

feat(search): expose isBaseBook on LineHit#89

Merged
kdroidFilter merged 1 commit into
masterfrom
feat/linehit-isbasebook
Jun 26, 2026
Merged

feat(search): expose isBaseBook on LineHit#89
kdroidFilter merged 1 commit into
masterfrom
feat/linehit-isbasebook

Conversation

@kdroidFilter

Copy link
Copy Markdown
Owner

Summary

  • Add isBaseBook: Boolean to LineHit, populated from the already-indexed/stored is_base_book field (no DB or index regeneration needed).
  • Lets the app correlate search results: anchor each hit on its base line and nest matching commentaries under it (upcoming search-results redesign).
  • Defaults to false for source-compat with LineHits built outside the Lucene engine (the dense-hit factory sets it explicitly app-side).

Test plan

  • :search compiles
  • Consumed by the Zayit search redesign PR

Surface the indexed is_base_book flag on each LineHit so callers can correlate
results — anchor every hit on its base line and nest matching commentaries
under it. Defaults to false for source-compat with hits built outside the
Lucene engine (e.g. the dense-hit factory).
@kdroidFilter kdroidFilter merged commit 24c9939 into master Jun 26, 2026
1 check passed
@kdroidFilter kdroidFilter deleted the feat/linehit-isbasebook branch June 26, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant