Explainer · Case Search

What Is Proximity Case Search?

When you search for a judgment by a party name, even a small spelling difference can mean the search returns nothing, and you miss the case entirely. Proximity case search is the technique that fixes this: it finds judgments where the name you typed is close to, but not identical to, the name in the record. This explainer covers what proximity search is, why name mismatches are especially common in Indian legal databases, and what to look for in a tool that handles them well. Last verified November 2026.

The short answer
  • Proximity case search finds judgments even when the name you typed does not match the name in the record exactly, because of typos, transliteration differences, or variant spellings.
  • Why it matters in India: Indian names have many valid English spellings, records come from every High Court with different transcription conventions, and older digitised records carry accumulated variation.
  • How it works: the engine measures how different two strings are (edit distance), groups names by sound (phonetic encoding), or uses overlapping character patterns (n-grams), then merges these with AI semantic search.
  • What to check: test with a misspelled name; verify the tool returns court-ready citations, not just fragments; confirm coverage of the courts and years you need.

01The problem: why exact search breaks on names

Every legal search tool stores judgment text in a database. When you type a name, the simplest approach is to match it exactly, character by character. This works well for standard English words. It fails badly for names.

Names get recorded differently each time

A party named "Ramachandran" might appear as "Ramchandra", "Ram Chandra", or "Ramachandaran" across different filings, different clerks, and different courts. Each variation is a different string to an exact-match engine. A search for one version will not return the others, even though all three records are about the same person.

Transliteration adds more variation

Indian names start in regional scripts, Hindi, Tamil, Telugu, Kannada and others. When clerks transliterate them into English, they make judgment calls: "Subramaniam" and "Subramaniyam" are the same name, two ways. There is no single right spelling.

Typing errors happen

Lawyers, clerks, and litigants type under pressure. A single dropped letter or transposed character ("Mehta" versus "Mehtta") is enough to break an exact search. You may never know you missed a judgment because the search returned no error, just an empty result.

Why this matters for citations

A missed judgment can mean citing an overruled case or not citing a binding authority at all. The problem is not just inconvenience. It is a citation risk.

02What proximity search is

Proximity search, in the context of case law, means searching for records where a term is near enough to your query, not just exactly equal to it.

The word "proximity" is used in two related but distinct ways in legal search tools, and it is worth knowing both.

Sense 1: name proximity (fuzzy name matching)

In name proximity search, the engine accepts a small number of differences between the typed name and the stored name. "Ramchandra" and "Ramachandran" are close in character-level distance, so the engine treats them as likely the same name. This is the sense most relevant to finding Indian judgments by party name or judge name.

The technical term for this is fuzzy matching or edit-distance matching. The engine counts how many character insertions, deletions, or substitutions are needed to turn one string into the other. If that count is below a threshold, it treats the strings as matching.

Sense 2: term proximity (terms near each other in text)

Some search engines also support proximity in the positional sense: finding documents where two or more search terms appear within a set number of words of each other. For example, a proximity search for "specific performance" AND "injunction" within 10 words would only return judgments where those two concepts appear closely together, filtering out cases where the judgment discusses them in entirely separate contexts.

Proximity search is what separates a search engine that understands names from one that punishes you for a single wrong letter.

03Why proximity search matters especially in Indian courts

Indian case law databases face name-variation problems at a scale that most other legal systems do not, for reasons that are structural.

Many courts, each with its own records

A judgment database covering every High Court and the Supreme Court, along with the district courts and tribunals, pulls records from many independent sources. Transcription conventions vary by court and by era. A name recorded in 1985 may look different from the same name recorded in 2015, even in the same court.

No single national naming standard

India has no single official romanisation standard for personal names. The same Kannada or Malayalam name can be transcribed several ways, all of them defensible. This is not a data quality failure: it is a structural feature of a multilingual country with a large body of historical records.

Historical records predate computers

Judgments from the 1950s through the 1980s were originally typed or handwritten. Digitising them meant another round of transcription. Each round introduced its own variation. A search tool that does not account for this will simply miss older authorities.

Party names, judge names, and advocate names all vary

Proximity search matters for all three. Searching by a judge’s name to find their rulings on a point, or by an advocate’s name to trace their matters, hits the same problem. An exact-match engine forces you to know every variation in advance, which defeats the purpose of search.

04How proximity search works under the hood

You do not need to understand the mathematics to use a proximity-aware search tool well, but knowing the basics helps you judge whether a tool is genuinely doing it.

Edit distance (Levenshtein distance)

The most common approach is edit distance, named after the mathematician who described it. The engine calculates the minimum number of single-character edits (insert, delete, or substitute) needed to turn the query string into the stored string. "Mehta" to "Mehtta" is one insertion, so the edit distance is 1. Most tools set a threshold of 1 or 2 to decide what counts as a match.

n-gram indexing

Another approach breaks every name into overlapping character groups (n-grams). "Ramachandra" in 3-grams becomes "Ram", "ama", "mac", "ach" and so on; two names that share most of their n-grams are treated as similar. This is fast and good for partial matches.

Phonetic encoding

Phonetic algorithms convert a name to a code based on how it sounds, so names that sound alike get the same code even when spelled differently, which handles two clerks spelling one name by different conventions. For more detail, see the explainer on phonetic name matching.

How they are combined in practice

A well-built engine does not rely on one technique. It runs the query through several methods and merges the results by confidence, so the list starts with exact matches and shades into near-matches, and you see the best hits first without trying every spelling by hand.

05Proximity search vs keyword search vs semantic search

Case search tools use several different techniques, and each solves a different part of the problem. Understanding the difference helps you know what a tool is actually doing when you type a query.

TypeWhat it doesStrengthLimitation
Keyword (exact)Matches the exact characters you typedFast, precise for known stringsMisses spelling variants, name mismatches
Proximity / fuzzyMatches strings that are close to what you typedFinds names despite typos or variant spellingsRequires tuning; too loose a threshold returns noise
PhoneticGroups names that sound alike under the same codeHandles transliteration variation in Indian namesWorks best for names, not general legal terms
Semantic / AIUnderstands the meaning of your query, not just the wordsFinds judgments on a legal point even without exact termsNeeds a legal-domain model trained on Indian case law

The best modern tools layer all of these. An AI-based search engine will handle the legal meaning of a query (semantic), and simultaneously apply fuzzy or phonetic matching on names within the results, so you are not forced to choose between finding a concept and finding a party.

Case search vs case docketing

This explainer is about searching existing judgments by name or legal issue. Docketing is the separate job of recording and tracking active matters. For that topic, see what is case docketing.

06What to look for in a search tool that handles names well

When evaluating a case search tool for proximity and name-matching capability, ask these questions.

Does it show near-miss results or only exact matches?

The easiest test: search for a common Indian name with one letter changed. If the tool returns nothing, it is doing exact matching only. A proximity-aware tool will return results and may even flag which names it treated as equivalent.

Does it cover the courts and years you need?

Proximity matching on a shallow database still leaves gaps. If the tool does not hold judgments from the court or time period you need, no amount of fuzzy matching will find them. Check coverage first.

Does it return verified citations?

A tool that finds a case via proximity matching must still give you a citation you can verify and use in court. If it cannot show you the source or the citation cannot be traced back to an official record, it is not safe to rely on.

Is semantic search also present, and how do results rank?

Proximity matching handles name variation; semantic search handles the legal-concept side of a query, and you need both, or you will miss cases where the point of law is the target rather than a party name. Fuzzy matching also throws up many near-hits, so the ranking matters: a good tool surfaces the most relevant and authoritative judgments first instead of burying them.

For a broader look at what separates good case search from weak case search, see the guide to the best case search tools in India.

07Where Claw fits

Claw is an all-in-one legaltech platform for Indian advocates, law firms, and corporate legal teams, combining AI-based case search, an AI legal assistant (Legal GPT), case management, and compliance automation across all Indian courts and tribunals.

On case search, Claw combines semantic and AI-based search with name-tolerant (proximity and phonetic) matching across its 30 crore+ judgments, drawn from the High Courts, the Supreme Court and the tribunals, so a search finds the right judgment even when a party name was recorded differently across filings or courts. Supreme Court decisions run from 1950 and High Court decisions from 1990. Each result comes back with a court-ready citation in under 5 seconds, across 9,102 courts, benches and forums, so the output is safe to cite rather than a pile of fragments you must verify by hand. Claw does not use customer documents to train its AI models.

The test to put to any vendor is not "do you support fuzzy search" but "show me a near-miss name search across High Court records, and show me how each citation is verified". That is what separates real proximity matching from a marketing claim. You can create a FREE Claw account at clawlaw.in and run that test yourself. This explainer is general information, not legal advice.

08Frequently asked questions

What is proximity case search?

Proximity case search finds judgments where a name or term in the record is close to, but not identical to, what you typed. It solves the problem that arises when a party name was spelled differently in different filings, or when a typing error would cause an exact-match engine to return nothing.

Why do Indian case law databases need proximity search more than databases in other countries?

Indian names originate in many regional scripts and have no single standard romanisation. The same name can be transliterated several ways, all of them correct. This structural variation, compounded by decades of manual data entry across the High Courts and the Supreme Court, means name mismatches are common in Indian legal records. A database that only does exact matching will miss a meaningful share of results.

What is the difference between proximity search and semantic search?

Proximity search matches strings that are character-close to each other. It handles spelling variants and name mismatches. Semantic search understands the meaning of a query and finds judgments on a legal point even if the exact words do not appear. A well-built case search tool uses both: proximity for names, semantic for legal concepts.

Is fuzzy matching the same as proximity search?

Fuzzy matching and proximity matching are closely related terms that refer to the same idea: accepting a small number of differences between two strings. Fuzzy matching typically measures edit distance. Proximity search is the broader category that can also include positional proximity (terms appearing near each other in a document). In the context of name search, the two terms are often used interchangeably.

How can I tell if a case search tool is actually doing proximity matching?

Run a simple test: search for a common Indian party name with one letter added or changed. If the tool returns no results at all, it is doing exact matching. If it returns the case and shows you that it matched a near variant, it has real proximity support. Also check whether the citations it returns are verified and traceable to official records.

Does proximity search affect citation reliability?

Proximity matching is about finding the case. Citation reliability is about whether the case reference you get back is accurate and verifiable in court. Both matter and they are separate questions. A tool can find a case via fuzzy name matching and still return an unverified or incorrect citation. Always check that the tool provides a source you can trace back to an official record.

Claw Tax

Let Claw handle it

A professional does it for you, with a fixed price and a clear turnaround. Government fees, where any, are charged separately at cost.

Or browse everything Claw Tax does →

Read us first

Make Claw a preferred source on Google

If our guides help you, add Claw to your preferred sources. Our legal explainers then surface first for you across Google Search, Discover and AI answers.

Add to preferred sources

Book a demo

Thirty minutes with a Claw specialist, on your matters and your courts.

Explore CLAW

The tools behind the guides

CLAW helps Indian advocates and firms manage cases, track courts and research the law.