Conflict Check: How it works
How the search algorithm works in detail
This page explains in detail how LeanLaw's conflict check decides that a client, matter, or time entry matches a name you're checking. It covers which fields are searched, how client and matter fields are matched, how time entry descriptions are matched, and worked examples of each.
LeanLaw shows candidate matches and explains why each one appeared. Whether a match is a conflict is your firm's decision.
What's searched
The conflict check searches every client and matter in your firm, including archived clients and archived matters. Each result names the field that matched.
| Where | Field | Nicknames match here |
|---|---|---|
| Client | Display Name | Yes |
| Client | Company | Yes |
| Client | First Name | Yes |
| Client | Last Name | Yes |
| Client | No | |
| Matter | Matter Name | No |
| Matter | Matter ID | No |
| Matter | Adverse Parties | Yes |
| Matter | Related Adverse Entities | Yes |
| Matter | Related Client Entities | Yes |
| Matter | Opposing Counsel(s) | Yes |
| Matter | Referral Source(s) | Yes |
| Matter | Notes | No |
| Matter | Billing Instructions | No |
| Time entry (optional) | Description | No |
Time entry descriptions are searched only when you tick Include time entry descriptions, and every result says whether they were included. Fields not listed here aren't searched. That includes custom fields, invoice narratives, client addresses and phone numbers, CC and BCC addresses, and practice area.
Nicknames match only in name and party fields. In Notes, Matter Name, and time entries, a name such as “Will” or “Bill” is too often an ordinary word.
Entering names
- Put each name on its own line, or separate names with a semicolon. A comma stays inside a name, so “Larkspur Holdings, Inc.” is one name. Each name is checked separately and gets its own results.
- One check can hold up to 25 names and 200 words. If you enter more, the check stops at the first name that goes over the limit and tells you it was cut short.
- Large checks take longer. How long a check takes depends on how much information is in your firm's account. A check with more than 10 names can take a minute or more, so for long lists run batches of 10 or fewer.
A field in LeanLaw can also hold several names separated by semicolons or line breaks, such as an Adverse Parties field that says “Granite Ridge Partners; Okafor Logistics”. Each of those names is compared separately. A search for “Granite Logistics” therefore doesn't fully match a matter that lists two unrelated parties, but a search for “Granite Partners” does.
How names are read
Both the name you enter and the text in each field are turned into words the same way:
- Accents and capital letters are ignored. “Renée” and “RENEE” are the same word.
- Possessives are ignored. “Calloway's” is read as “Calloway”.
- An “&” or “+” between two letters or numbers joins them into one word. “B&R” is read as “BR”. With spaces around it, as in “B & R”, the symbol separates two words.
- Any other punctuation separates words. That includes hyphens, apostrophes, periods, commas, slashes, parentheses, and the “@” in an email address. “jo@fenwick-marine.com” is read as “jo fenwick marine com”.
- The word “and” is ignored. “Pike and Mercer” is two words.
Two more rules apply only to the names you enter:
- Role words are ignored: as, executor, of, the, estate, trustee, administrator, individually, dba, and fka. The check lists the role words it ignored. For example, “Dana Whitfield, as Trustee of the Whitfield Family Trust” is searched as dana, whitfield, whitfield, family, and trust.
- Entity endings are treated as interchangeable: LLC, PLLC, Inc, PC, LP, LLP, Ltd, Corp, Co, and SC, when they come at the end of a name. See Entity endings below. A name made up only of role words or an entity ending, such as “LLC” on its own, is skipped, and the check tells you it had nothing to search.
How words match
This section describes matching in client and matter fields. Time entries follow the same rules with a few differences, described below.
Each word you enter is compared with each word in a field. It matches in one of four ways:
| Match | Rule | Example |
|---|---|---|
| Same word | The words are the same once they've been read as described above. | “Calloway” finds “Calloway's” |
| Start of a word | Your word has four or more letters, and the word in the field starts with it. A word never matches in the middle or at the end of another word. | “Thor” finds “Thornbury”; “bury” doesn't |
| Nickname | Both words are versions of the same given name, such as William, Bill, Billy, Will, and Liam. Both must be spelled exactly. Nicknames match only in the fields marked “Yes” in What's searched. | “Bob” finds “Robert” |
| Close spelling | The words differ by no more than the number of letters allowed for your word's length (see below). | “Nolan” finds “Nolen” |
How close the spelling must be
A difference is one letter added, removed, or changed, or two letters next to each other swapped. The allowance depends on the length of the word you enter:
| Your word | Differences allowed | Example |
|---|---|---|
| 1–3 letters | None. The spelling must be exact. | “Kim” doesn't find “Kym” |
| 4–7 letters | 1 | “Brennan” finds “Brenan” but not “Brannen” |
| 8 or more letters | 2 | “Halvorsen” finds “Halverson” |
Start-of-word matching works one way only: “Thornbury” doesn't find “Thorn”.
Entity endings
An entity ending such as Inc or LLC doesn't identify anyone, so it never produces a match on its own. A search for “LLC” doesn't return every company in your firm. Once another word has matched in a field, an ending you entered is satisfied by any entity ending in that field. “Larkspur Holdings Inc” fully matches “Larkspur Holdings LLC”. An ending in the field is never required, so “Larkspur Holdings” also fully matches it.
Full and partial matches
- A full match means every word of the name you entered matched in the same field.
- A partial match means only some of the words matched. The result shows how many, for example “2 of 3”.
- Words must match in the same field. Words matched in different fields don't add up to a full match. If a client's First Name is “Priya” and Last Name is “Raman”, a search for “Priya Raman” matches each field partially. The Display Name field usually holds the whole name, so the client normally still appears as a full match.
- Each record appears once for each name you check. If any of its fields is a full match, the record is shown as a full match, with every field that matched listed.
- Weak partial matches are hidden. A partial match is shown only if at least a quarter of the name's words matched, not counting entity endings. One word out of four is shown, and one out of five is hidden. The check tells you how many were hidden.
- If there are no full matches, the partial matches are shown open.
Order of results
Full matches come first, closest match first. A field that says exactly the name you entered comes before one where your words appear in a different order or among other words. Matches that relied on start-of-word, nickname, or close-spelling matching come after exact ones. Within each group, active records come before archived ones, then alphabetically. Partial matches are ordered by the share of words that matched.
Time entries
Time entry descriptions are long, free-form text, and a firm can have hundreds of thousands of them. To keep checks fast, they're searched more strictly than clients and matters:
- A time entry is found only if at least one word of the name appears in it exactly as you typed it, either as a whole word or as the start of a word.
- Once a time entry is found, the other words in the name follow the usual rules, including close spelling.
- Nicknames don't match in time entries.
- Type a name that contains “&” or “+” the way it's written. “K&L” finds “K&L” in a time entry, but “KL” doesn't. In client and matter fields, both work.
Short words follow the same rule everywhere: a word of three letters or fewer must match a whole word. “Lin” finds “Met Lin at site” but not “Met Linda at site”.
Tip: when you include time entries, spell names exactly as they're likely to be written. Close spelling and nicknames still work for clients and matters in the same check.
Examples
All names in these examples are made up.
How names are read
| You check | Field says | Result | Why |
|---|---|---|---|
| “renee dubois” | “Renée DUBOIS” | Full | Accents and capital letters are ignored. |
| “Harbor View Marine” | “Harbor-View Marine” | Full | The hyphen separates words. |
| “Calloway Bakery” | “Calloway's Bakery” | Full | The possessive is ignored. |
| “BR Fabrication” | “B&R Fabrication” | Full | “B&R” is read as “BR”. |
| “B & R Fabrication” | “B&R Fabrication” | Partial 1 of 3 | With spaces, “B” and “R” are separate words, and neither matches “BR”. |
| “Pike and Mercer” | “Pike & Mercer” | Full | “and” is ignored, and a spaced “&” separates words. |
How words match
| You check | Field says | Result | Why |
|---|---|---|---|
| “Thor” | “Thornbury Farms” | Full | Start of a word, four letters. |
| “Tho” | “Thornbury Farms” | Not found | A three-letter word must match exactly. |
| “bury” | “Thornbury Farms” | Not found | Words never match at the end of another word. |
| “Thornbury” | “Thorn” | Not found | Start-of-word matching works one way only. |
| “Nolan” | “Nolen” | Full | Five letters allow one difference. |
| “Marlow” | “Malrow” | Full | Two swapped letters count as one difference. |
| “Brennan” | “Brannen” | Not found | Seven letters allow one difference, and these differ by two. |
| “Halvorsen” | “Halverson” | Full | Nine letters allow two differences. |
| “Kim” | “Kym” | Not found | A three-letter word must be spelled exactly. |
| “Bob” | “Robert Vance” (Display Name) | Full | Nickname, in a name field. |
| “Bill Okafor” | “Spoke with William Okafor” (Notes) | Partial 1 of 2 | Nicknames don't match in matter notes. |
Entity endings, role words, and several names in one field
| You check | Field says | Result | Why |
|---|---|---|---|
| “Larkspur Holdings Inc” | “Larkspur Holdings LLC” | Full | “Inc” is satisfied by “LLC”. |
| “Larkspur Holdings” | “Larkspur Holdings LLC” | Full | The field's entity ending isn't required. |
| “Larkspur Holdings Inc” | “Larkspur Holdings” | Partial 2 of 3 | The “Inc” you entered needs an entity ending in the field. |
| “LLC” | “Larkspur Holdings LLC” | Skipped | An entity ending on its own has nothing to search. |
| “Dana Whitfield, as Trustee of the Whitfield Family Trust” | “Dana Whitfield” | Partial 3 of 5 | The role words are ignored, and the comma doesn't split the name. Three of the five words (dana, whitfield, whitfield) match. |
| “Granite Ridge” | “Granite Ridge Partners; Okafor Logistics” (Adverse Parties) | Full | Both words match the first name in the field. |
| “Granite Logistics” | “Granite Ridge Partners; Okafor Logistics” (Adverse Parties) | Partial 1 of 2 | The two names in the field are compared separately. |
Partial matches that are shown or hidden
| You check | Field says | Result | Why |
|---|---|---|---|
| “Pemberton Valley” | “Valley Bank” | Partial 1 of 2 | Half the words matched. |
| “Pemberton Valley Water Cooperative” | “Valley Bank” | Partial 1 of 4 | A quarter of the words matched, which is enough to be shown. |
| “Pemberton Valley Water Cooperative Board” | “Valley Bank” | Hidden | One word in five is below a quarter. It's counted as hidden. |
| “Priya Raman” | “Priya” (First Name) | Partial 1 of 2 | Words in different fields don't add up. |
Time entries
| You check | Description says | Result | Why |
|---|---|---|---|
| “Fenwick” | “Call with Fenwick re lease” | Full | Same word. |
| “Fenw” | “Call with Fenwick re lease” | Full | Start of a word, four letters. |
| “wick” | “Call with Fenwick re lease” | Not found | Words never match at the end of another word. |
| “Fenwik” | “Call with Fenwick re lease” | Not found | No word appears exactly as typed. In a client name, this would be a full match. |
| “Halvorsen Marine” | “Call with Halverson Marine re dock” | Full | “Marine” appears exactly, so close spelling then matches “Halvorsen”. |
| “Lin” | “Met Lin at site” | Full | A short word as a whole word. |
| “Lin” | “Met Linda at site” | Not found | A short word must match a whole word. |
| “Lin” | “Reviewed Lin's notes”, “Mary-Lin”, “(Lin)”, “lin@example.com” | Full | Apostrophes, hyphens, parentheses, and “@” all separate words. |
| “K&L Dental” | “Call with K&L Dental” | Full | Typed the way it's written. |
| “KL” | “Call with K&L Dental” | Not found | “KL” doesn't appear as typed. |
| “KL Dental” | “Call with K&L Dental” | Full | “Dental” appears exactly, and “K&L” is then read as “KL”. |
| “K & L Dental” | “Call with K&L Dental” | Partial 1 of 3 | With spaces, “K” and “L” are separate words and don't match “KL”. |
| “Ibanez” | “Email to Ibáñez re deposition” | Full | Accents are ignored. |
| “Fenwick” | “Sent draft to jo@fenwick-marine.com” | Full | Punctuation in an email address separates words. |
| “Bill Okafor” | “Call with William Okafor” | Partial 1 of 2 | Nicknames don't match in time entries. |