90 Minutes, Thousands of Documents: What Mercy Gets Right About Legal Research
A detective, a ticking clock and a mountain of records. Legal research feels the same.
In Mercy, Chris Pratt plays a detective strapped to a chair with a clock running. He has ninety minutes to prove his innocence to an AI judge, and the only tool he has is access to a mountain of digital records: messages, footage, files, logs, and reports.
Most viewers will remember the premise. Fewer will remember what makes the middle of the film so watchable, which is the way he works. He never reads everything, because there isn't time. He pulls on one record, and it points to another. A name in one file connects to a timestamp in a second, which contradicts a statement in a third. The screen in front of him becomes a map of how pieces of information relate to one another, and he finds his way by following those relationships.
Anyone who has done serious legal research will recognize the feeling.
The Library Problem
Legal research has always been a retrieval problem disguised as a reading problem. The answer to your question usually exists somewhere. A constitutional provision, a regulation, an appellate opinion, or a dissent from fifteen years ago may hold exactly what you need. The difficulty is reaching it before the deadline.
For decades, the standard tool has been keyword search. You type in the words you expect to appear, and the system returns documents containing those words. It works well when you already know the vocabulary of the answer. It works poorly when you don't, and in law, you often don't.
A court may describe "unreasonable interference with the use and enjoyment of land" without ever using the word "nuisance." A regulation may address your client's situation without mentioning the term you searched for. A keyword search hands you a pile of documents that match your words and misses the ones that match your meaning.
In the film, the detective would have lost his ninety minutes that way. What saves him, at least in the scenes that matter, is that he can move from one piece of evidence to the related piece of evidence, even when the two don't share a single obvious label.
Search That Follows Meaning
That is what semantic search does. Instead of matching strings of text, it works out what a passage is about and how it relates to everything around it. You ask a question in plain language, and the system returns the provisions, opinions, and commentary that address that question, whether or not they use your phrasing.
Two ideas matter most for legal work.
- Context-awareness. A statute doesn't exist alone. It has amendments, implementing regulations, and judicial interpretations that narrow or expand it. A sentence pulled out of that setting can mislead as easily as it informs. Good semantic search keeps the surrounding structure attached to the result, so you see the provision along with the material that shapes its meaning.
- Determinism. Lawyers can't build arguments on results that change from one query to the next. If you ask the same question twice, you should get the same sources, in the same order, for reasons you can inspect. Research you can't reproduce is research you can't defend.
The Judge Who Sounds Certain
Mercy adds a second layer that matters for anyone following the current wave of AI in legal work. The detective's case is being weighed by an artificial judge, a system that produces a running assessment of his guilt. Whatever you think of that setup, it raises the right question: what is the system's conclusion actually based on?
A conclusion is only as good as the material beneath it. This is the weakness of general-purpose language models in legal settings. They write fluent, confident, well-formatted answers, and sometimes the case they cite doesn't exist or the quoted provision says something different. The tone is persuasive, but the grounding is absent.
The remedy isn't a smarter-sounding model. It's making sure that every statement the model produces is anchored to a real, verifiable passage in a real source. In the film, the detective's whole defense depends on finding evidence that holds up when examined. In legal practice, the equivalent is a citation you can open, read, and trust.
Where We Come In
This is the problem we built our semantic-search API to solve. It indexes legal documents, including constitutional texts, regulations, and court opinions, and returns results based on meaning and context rather than keyword luck. The results are deterministic, so they're consistent and traceable.
We work with two groups:
- Lawyers and law firms who need to find the controlling authority faster, and who need to know why a result appeared.
- Other legal technology companies who want to improve the output of their language models and reduce hallucination, by giving those models reliable source material to work from.
The detective in Mercy wins or loses on the quality of the evidence he can reach in the time he has. Legal professionals face a quieter version of the same pressure on every matter. We think the right response is to give them a way of moving through the law that follows its actual connections.
