Token overlap can be counted with exact integer counts. Honesty note: simplified toy corpus; jurisdictions vary; the pinned first step states the as-of date; not legal advice; retrieval points to sources and does not answer the legal question.

highlighted = computed this step

Retrieval honesty note

Honesty note: simplified toy corpus; jurisdictions vary; as of June 24, 2026; not legal advice; retrieval points to sources and does not answer the legal question.

toy corpus as of June24,2026\text{toy corpus as of }June 24, 2026

Match by token overlap

The stated retrieval model uses exact token overlap. It counts shared tokens between the query and each corpus row.

overlap count=matching tokens\text{overlap count}=\text{matching tokens}

Example query and source row

The example query is diversity amount citizenship. The matching row is the record for 28 U.S.C. sec. 1332.

query tokens are derived\text{query tokens are derived}

The count governs rank order

Record id diversity has 3 of 3 matching tokens and rank 1 in this toy table.

rank=1,match=3 of 3\text{rank}=1,\quad \text{match}=3\text{ of }3

Diagram note

The diagram displays integer overlap and deterministic rank. It does not claim legal relevance or source weight.

rank is a toy retrieval order\text{rank is a toy retrieval order}

Jurisdiction: US; as of 2026-06-24; not legal advice; Code encodes the stated-rule interpretation.

Lexical matchrowfieldvaluequerytokensdiversity,amount,citizenshipquerycount3supportcount1supportabstainFalserecord supremacyrank-record supremacymatch0 of 3record supremacyfilterpassrecord supremacyciteUS Const. art. VI cl. 2record supremacysnippetToy corpus record for constitution source citation supremacy law and judges.record diversityrank1record diversitymatch3 of 3record diversityfilterpassrecord diversitycite28 U.S.C. sec. 1332record diversitysnippetToy corpus record for diversity jurisdiction amount citizenship and statute search.record rule6rank-record rule6match0 of 3record rule6filterpassrecord rule6citeFed. R. Civ. P. 6(a)(1)record rule6snippetToy corpus record for deadline counting calendar day trigger and rule search.record brownrank-record brownmatch0 of 3record brownfilterpassrecord browncite347 U.S. 483record brownsnippetToy corpus record for case citation reporter lookup and provenance search.

Summary

Lexical matching is useful because each displayed number can be recomputed from the query and corpus text.

no float score is needed\text{no float score is needed}