Search

Keyword Search in DecoverAI: The Complete Operator Reference

Boolean operators, phrase matching, proximity, and wildcards — the full reference for the search bar's exact-match mode.

April 11, 2026

DecoverAI's Keyword mode lets you run exact-match searches across your case files using the same Boolean operators you already know from Relativity, Everlaw, and Westlaw. When Keyword is on, we bypass semantic search, embeddings, and AI query rewriting — you get back every document where your terms literally appear, in the combination you asked for, nothing more.

Use Keyword when you want precision. Use Smart (the default) when you want the system to interpret your question and bring back semantically related answers even if they don't share words with your query.

Turning Keyword search on

In the search bar, click the Smart / Keyword toggle and select Keyword. The bar stays in Keyword mode until you switch it back. When Keyword is active, you can paginate through matches and see an exact match count — "About 142 results" rather than a capped preview.

Operator quick reference

You typeWhat it does
john ruffinoBoth words must appear (implicit AND)
john AND ruffinoSame as above, explicit
john OR janeEither word appears
john, janeComma is a shortcut for OR
john NOT ruffino'john' must appear, 'ruffino' must not
(john OR jane) AND depositionParentheses group expressions
"expert witness"Exact phrase match (words in order, adjacent)
"expert witness"~3Proximity: within 3 words of each other, in order
deposit*Wildcard: deposit, deposition, depositions, etc.
wom?nSingle-character wildcard: woman, women
john W/3 ruffinoNEAR: within 3 words of each other, any order
john W/5 james W/5 ruffinoNEAR chain: all three within 5 words of each other

Operator details

Boolean operators

Phrases and proximity

Wildcards

NEAR (W/N) — proximity with flexible order

NEAR is the operator to reach for when two or more words should appear near each other but you don't care which comes first. This is how Relativity, Westlaw, and LexisNexis users are used to finding things like 'breach somewhere near duty'.

Worked examples

Find every doc where both names appear:
john ruffino
Find the exact phrase 'medical expert report':
"medical expert report"
Find documents mentioning either attorney, but only within Depositions:
(smith OR jones) deposition
Find documents where 'breach' and 'duty' appear within 5 words of each other, any order:
breach W/5 duty
Find any variation of 'deposition' alongside 'objection' within 10 words:
deposit* W/10 objection
Exclude documents that mention settlement:
damages NOT settlement
Find paragraphs where 'ischemic' and 'stroke' appear close together in any order, anywhere in the same document with the phrase 'cognitive disability':
ischemic W/3 stroke AND "cognitive disability"

Results, pagination, and counts

Tips and gotchas

Not supported (yet)

If your workflow needs one of these, let the DecoverAI team know and we'll prioritize it.

Ready to search your case files with precision and intelligence?

See how DecoverAI combines exact-match Keyword search with semantic Smart search in one workspace.

Book a Demo →