Explainer · Case Search Technology

Semantic vs Keyword Case-Law Search in India: What's the Difference?

Keyword, or Boolean, search matches the exact words you type. Semantic, or AI, search matches the meaning behind your question, so it can find a relevant judgment even when that judgment uses completely different words. Neither is simply "better". Keyword search is precise but brittle: it misses synonyms, paraphrase, and misspelled names. Semantic search is more forgiving but can surface a plausible-looking result that is not actually on point, if it is not grounded in real judgment text. This explainer covers how each works, where each fails, why party-name matching is a special case, and how to combine both for case-law research you can rely on.

The short answer
  • Keyword (Boolean) search: matches the exact words you type. Precise and auditable, but misses synonyms, paraphrase, and misspelled names.
  • Semantic (AI) search: matches meaning using embeddings, so it can find a relevant judgment that uses different words. Can surface plausible-but-irrelevant results if it is not grounded in real judgment text.
  • Name matching is a special case: phonetic (Soundex-style) and fuzzy matching, tuned for Indian names, is what finds misspelled or transliterated party names. Neither keyword nor semantic search alone solves this well.
  • The honest risk both ways: widen a name search too much and you risk name collisions between unrelated same-named parties; narrow it too much and you miss genuine variants.
  • The reliable approach: use semantic search to cast a wide net on meaning, keyword search for precise, known phrases, phonetic matching for names, and always verify the source judgment before citing it.

01How keyword (Boolean) search works, and where it fails

Keyword search, sometimes called Boolean search, looks for an exact match between the words you type and the words in the document. It is the oldest, most literal way to search text, and most Indian legal databases were originally built on it.

How it works

A keyword engine indexes every word in every judgment, then looks up your query terms. Boolean operators (AND, OR, NOT) and proximity operators (two words within a set distance) narrow or widen the search. Type "breach AND contract AND damages" and it returns only judgments containing all three words. This is fast, predictable, and easy to audit: you can see exactly why a result matched, because the matching word is right there on the page.

Where it fails

The weakness is exactly the same as the strength: keyword search only knows words, not meaning. Three failure modes show up constantly in Indian legal research.

  • Synonyms and drafting variation. A judgment might say "termination of employment" while your query says "wrongful dismissal". Both describe the same legal question, but a keyword search treats them as unrelated unless you type every variant yourself.
  • Paraphrase. The legal point you are researching, such as whether a surety is discharged when a creditor gives the debtor more time to pay, can be expressed in a judgment using entirely different structure and vocabulary than the one in your head. Keyword search cannot bridge that gap.
  • Misspelled or variant party names. If a party’s name is spelled differently in the record than in your query, a pure keyword search returns nothing, even though the case exists. This is common enough in Indian records that it deserves its own section below.

In practice, keyword search rewards a researcher who already knows the right vocabulary and can guess every phrasing a judgment might use. That is a reasonable ask in a familiar area, but a much harder one for anyone researching outside their specialisation, or a junior still learning a new practice area.

02How semantic (AI) search works, and where it fails

Semantic search takes a different approach: instead of matching words, it tries to match meaning. This is the technology behind most modern AI-based legal research tools.

How it works

A semantic system converts text, both your query and every judgment, into a numerical representation called an embedding: a point in a high-dimensional space positioned so that texts with similar meaning sit close together, even if they share very few words. When you search, it compares your query’s embedding to every judgment’s and returns the closest in meaning, not the ones sharing the most literal words. This is why a search for "wrongful dismissal" can surface a judgment that only ever says "termination of employment", and why a paraphrased question still finds the judgment that answers it.

Where it fails

Semantic search trades precision for recall, and that trade has a real cost if it is not managed carefully.

  • Plausible but irrelevant results. Because it matches meaning rather than exact fact, it can return a judgment that reads as relevant, with similar language and a similar fact pattern, but is not actually on the point you are researching. It looks right until you read it closely.
  • Ungrounded generation is a bigger risk than ungrounded retrieval. Semantic search that only retrieves real judgment text and shows the source is one thing. A general-purpose AI model that generates a summary or citation from its own memory, without pointing back to a real judgment, is riskier: that is how a citation gets invented outright rather than merely mismatched. See our explainer on whether legal AI hallucinates citations in India.
  • It can be a black box. A keyword match is self-explaining: the word is right there. A semantic match is not always obvious at a glance, which is why a trustworthy tool shows you the source judgment alongside the result, so you can verify it yourself rather than take the system’s word.
Keyword search misses the case that used different words. Semantic search can surface the case that only looks like it answers your question. A tool that is honest about both failure modes is more trustworthy than one that claims to have solved them.

03The special case: matching misspelled and transliterated names

Party-name search deserves its own treatment, separate from legal-principle search, because Indian court records make it a genuinely hard problem.

Indian names are transliterated from Hindi, Urdu, Tamil, Telugu, Kannada, Malayalam, and other regional languages into Roman script, with no single standard. The same person or company can appear under several spellings across one court system: "Krishnamurthy" and "Krishnamoorthy", "Mohammed" and "Mohd", "Subramaniam" and "Subramanian". Add decades of records typed by different clerks, plus OCR errors from scanned paper filings, and one party name accumulates a long tail of variants.

Neither plain keyword nor plain semantic search solves this cleanly. A keyword search for one spelling misses every record filed under another. Semantic search, built to match legal meaning rather than proper nouns, is not designed for this either: two judgments about entirely different people can share the "same" legal meaning.

The tool built for this job is phonetic, or "sounds like", matching, sometimes combined with edit-distance ("fuzzy") matching for typos and OCR errors. Soundex is the classic algorithm: it encodes a name by its consonant sounds and drops vowels, so names that sound alike get grouped even when spelled differently. But Soundex was built for English names, so on its own it under-performs on Indian ones, which involve aspirated consonants, "v"/"w" interchange, and transliteration patterns Western algorithms were never designed for. Tools that work well on Indian names need India-specific tuning on top. For the full detail, see our explainer on phonetic name matching.

There is also a reverse risk worth naming honestly: the name-collision problem. Widening a search to catch every variant of a common name, such as "Ramesh Kumar" or "ABC Enterprises", can also pull in results belonging to unrelated parties who simply share that name. A tool that avoids missing a variant but gives a reviewer no case context, address, or other detail to tell same-named parties apart just trades one failure mode for another. Solving it well means casting a wide net, then giving the reviewer enough detail in each result to confirm identity, not just a name match.

If you are searching for a case now and suspect the name is the problem, our step-by-step guide on searching cases when a party name is misspelled walks through practical techniques, including how to check whether phonetic search is switched on.

04How to combine both for reliable research

Keyword and semantic search solve different problems, and reliable case-law research needs both, not a choice between them.

  • Start broad with semantic search when you are not sure of the exact vocabulary a judgment might use, or are working outside your specialisation. This is where it earns its keep: it surfaces judgments you would not have found by guessing keywords.
  • Use keyword or Boolean search when you know the exact phrase, section number, or citation and want a precise, auditable match. It is also the right tool for confirming a specific fact inside a judgment you have already found.
  • Turn on phonetic or fuzzy name matching whenever your search includes a party name, by default, since you usually cannot tell in advance whether the record spelled it the way you typed it.
  • Verify before you rely. Whichever method returns a result, read the underlying judgment before citing it. This matters more for semantic results, since a meaning-based match can look right without actually being right, but it is good practice for keyword results too.

A tool that offers only one of these modes asks you to work around its gap manually. One that offers both, and lets you tell which produced a result, gives you keyword precision and semantic coverage without a trade-off.

05How to test which one a tool actually uses

Vendor pages are not always precise about whether a "smart search" is genuinely semantic, or just keyword search with autocomplete and synonym expansion layered on top. You can find out yourself in a few minutes.

  1. Run a paraphrase test. Phrase a legal question in your own words, avoiding the exact terminology a judgment would use, for example "surety let off the hook" instead of "discharge of a surety". If the tool still surfaces the relevant judgment, it is doing real semantic matching, not just keyword lookup.
  2. Run a misspelling test. Search for a party name you know exists in the database, but deliberately misspell it the way a clerk plausibly might. If the case still comes up, phonetic or fuzzy name matching is genuinely switched on.
  3. Run a precision test. Search for an exact phrase or section number you know appears in a specific judgment. If a tool that claims to be "AI-powered" cannot reliably find a known phrase, its keyword layer may be weak, which matters when you need a precise match, not just a relevant one.
  4. Check whether the source is shown. For any semantic result, look for the actual judgment text behind the match. A tool that returns a summary or citation with no visible source is harder to verify, and that is exactly where an ungrounded or mismatched result can slip through unnoticed.

For a measured look at how citation accuracy is tested and scored, rather than just claimed, see our citation accuracy benchmark, which sets out the method and discloses where results still go wrong. And if you are weighing AI-based research against traditional case-law research, our explainer on AI legal research versus traditional legal research covers that comparison in full.

06Where 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 this specific question, Claw does not force a choice between keyword and semantic search. Its case search combines semantic and AI-based search, so it can find a relevant judgment even when your query and the judgment use different words, with results returned in under 5 seconds across its coverage of 30 crore-plus judgements spanning the High Courts (1990 to 2026) and the Supreme Court (1950 to 2026). Its search is also name-tolerant, applying proximity and phonetic matching so that misspelled and transliterated party names are still found, the diligence trap this page describes above.

Claw does not publish a bare "AI accuracy" claim without a way to check it: for a measured, dated citation-accuracy figure with a stated method, see the benchmark linked above.

Create a free Claw account to run name-tolerant, semantic case search yourself, free for advocates under 100 cases a year, and Claw does not train on customer documents. This is general information, not legal advice.

07Frequently asked questions

What is semantic legal search?

Semantic legal search matches the meaning of your question to the meaning of judgment text, using numerical representations called embeddings, rather than the exact words you typed. It can find a relevant judgment even if that judgment uses completely different vocabulary from your query, which plain keyword search cannot do.

Is AI search better than keyword search for case law?

Neither is simply better; they solve different problems. Semantic (AI) search is stronger when you do not know the exact words a judgment might use, or when you are paraphrasing a legal question. Keyword (Boolean) search is stronger when you know an exact phrase, section number, or citation and want a precise, auditable match. Reliable research generally uses both.

How do I find a case if I do not know the exact words?

Use semantic search rather than keyword search, since semantic search matches the meaning of your question rather than the literal words. Phrase your question the way you would actually ask a colleague, rather than guessing at legal terminology, and check the source judgment behind any result to confirm it is actually on point.

How do tools handle misspelled party names?

Reliable tools use phonetic matching (sometimes called "sounds like" or Soundex-style matching), often combined with fuzzy, edit-distance matching for typos and OCR errors, so a search for one spelling of a party name still finds records filed under a different spelling. Standard phonetic algorithms were built for English names, so tools working on Indian records generally need additional tuning for Indian naming patterns to do this well.

What is the name-collision problem in case search?

It is the reverse risk to a missed spelling variant: widening a search to catch every spelling of a common Indian name, such as "Ramesh Kumar", can also pull in results belonging to unrelated people or companies who share that name. A good search catches spelling and transliteration variants and gives a reviewer enough case detail to tell same-named parties apart, not just a longer list of name matches.

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.

Work it out first:try the GST calculator — free, no sign-up.

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.