Skip to content

Change server-side query field searches to use RRIs (CS-11730)#5447

Merged
backspace merged 1 commit into
mainfrom
server-query-fields-rri-cs-11730
Jul 9, 2026
Merged

Change server-side query field searches to use RRIs (CS-11730)#5447
backspace merged 1 commit into
mainfrom
server-query-fields-rri-cs-11730

Conversation

@backspace

Copy link
Copy Markdown
Contributor

This is the server version of #5424.

The realm server's executeQueryForField resolved query-field type refs
through its VirtualNetwork to URL form, so the links.search seed URLs it
serializes into indexed documents spelled refs differently from the client's
RRI-space rebuild of the same query. The index matches either spelling and
the client compares seeds via the spelling-tolerant signature, so both
spellings work — but building in RRI space converges the two sides (new
seeds match the client query byte-for-byte) and removes the last
normalizeQueryDefinition caller that supplied a VirtualNetwork. With no
callers left, drop the param: query-field normalization is now VN-free.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployments

Host Test Results

    1 files      1 suites   2h 45m 1s ⏱️
3 433 tests 3 418 ✅ 15 💤 0 ❌
3 452 runs  3 437 ✅ 15 💤 0 ❌

Results for commit 6f9479c.

Realm Server Test Results

    1 files      1 suites   12m 15s ⏱️
1 765 tests 1 765 ✅ 0 💤 0 ❌
1 844 runs  1 844 ✅ 0 💤 0 ❌

Results for commit 6f9479c.

@backspace
backspace marked this pull request as ready for review July 9, 2026 14:26
@backspace
backspace requested a review from a team July 9, 2026 15:02
@backspace
backspace merged commit e7eb9d1 into main Jul 9, 2026
98 of 101 checks passed
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.

2 participants