Skip to content

Improve search and citations for tables, formulas, and Agent chats - #204

Merged
luoshuai990529 merged 2 commits into
mainfrom
codex/improve-table-formula-chat-search
Nov 28, 2026
Merged

luoshuai990529 merged 2 commits into
mainfrom
codex/improve-table-formula-chat-search

Conversation

@Zleap-Admin

Copy link
Copy Markdown
Contributor

Changes

  • Index Markdown and HTML tables by complete rows. Preserve column headers and merged HTML cells, and highlight the cited row when opening a citation.
  • Keep multiline Markdown formulas together during retrieval and render standalone LaTeX environments such as align and equation.
  • Open the indexed reply from the same turn when Quick Search matches a question in an imported Agent chat.
  • Keep the selected match in view as more sections of a long document load.
  • Upgrade the index format to version 12 and rebuild existing Markdown and HTML indexes using the new passage rules.
  • Update the Chinese and English search guides and add the 0.4.7 release notes.

Verification

  • Svelte checks and 1,085 frontend tests passed.
  • 710 backend tests passed with QPDF available. The suite has 14 ignored tests.
  • Both languages of the documentation built successfully. Verified the changelog pages, installation links, search guides, and search results.
  • The repository's bilingual release-notes check passed.

Jomy Mac and others added 2 commits November 27, 2026 20:19
…versized ones

A numbered display formula written on one line, such as `$$ y = f(x) $$ (1)`,
was treated as unclosed because the closing delimiter was not at the end of the
line. The reader then stopped splitting the rest of the document, and the index
took everything up to the next formula as one formula block. Both now close a
`$$`, `\[` or `\begin{...}` formula on its opening line; multi-line formulas
still close at the end of a later line.

A display formula over 256 KiB failed indexing for the whole file. It is now
split like ordinary text, as before formula blocks existed.

The future-schema upgrade test still used version 11, which this branch now
opens as an older index; it uses version 13.
@luoshuai990529 luoshuai990529 added the release:skip Skip automatic release for this merged PR; keep all required checks. label Nov 27, 2026
@luoshuai990529
luoshuai990529 merged commit 0acd018 into main Nov 28, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:skip Skip automatic release for this merged PR; keep all required checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants