Conflict Searches Technical Details

How Searches in LegalServer Work

Note that there are two types of searches in LegalServer: "conflict" searches and "people finder" searches. People finder searches are performed when using the red Search link or Search menu, and can be performed anywhere on the site. Conflict searches are initiated as a result of form configuration by site administrators, for example during an intake process. Distinctions between the searches are noted where relevant.

There are three parts to the search process:

Source 

The types of people/organizations to search for. This will include Aliases, Clients, Contacts, Family Members, and Adverse Parties.

Requirements that must be met in order to appear in the results

For a person search where both first and last name are present there must be either:

  • First and Last Name Match: (one of the following combinations must be met)
    • First name is an exact match, OR first name sounds similar, OR first name nickname matches, OR first name begins with (if enabled; only applies to people finder searches), AND
    • Last name is an exact match, OR last name sounds similar, OR last name begins with (if enabled; only applies to people finder searches).
  • DOB matching can be configured for one of the following:
    • An exact match on DOB alone will return a result (this is the default setting).
    • An exact match on DOB alone will not return a result. Other search terms must also match to return a result.
    • An exact match on DOB will return a result unless the search includes Approximate DOB or the potential match has Approximate DOB set to Yes.
  • SSN searching can be configured for one of the following:
    • An exact match on SSN alone will return a result (this is the default setting). If SSNs are set to use 4 digits, this can produce many results. A search on a 4 digit SSN will not match a 9 digit SSN (for example, if a site was collecting 9 digit SSNs, then later switched to 4 digit SSNs).
    • An exact SSN match on its own will not cause a result to be included. Other search terms must match for a result to appear.
    • The last 4 digits of the SSN are matched. This allows 9 digit SSNs to match a 4 digit SSN search if the last 4 digits match. A match of a 4 to 4 digit or 9 to 9 digit SSN will rank higher than a match of a 9 to 4 or 4 to 9. This option is the slowest of the 3 and is primarily useful for searching when a system contains mixed 9 and 4 digit SSNs due to imported data or a change in policy.

For an organization search the only requirement is an inclusive full text index match on the organization name.

Indexing

  • Full text indexing allows the text in the relevant fields to be preprocessed and an index saved for later rapid searching.
  • Initially the text t is parsed or deconstructed into tokens. Tokens are usually a predefined set of classes e.g. numbers, complex words, or e-mail addresses.
  • These tokens are then converted into lexemes, roughly construed as a set of words that are different forms of the same word e.g. run, runs, ran, and running are all forms of the same lexeme.
  • During preprocessing these lexemes are normalized which makes different forms of the same word alike. The result of normalization means that when looking for the search term banks, it will match bank and therefore pull it into the results, walking will match walk and so on.
  • By using this process, variant forms of the same word can be found without the need to enter all of the possible variants, thereby saving time and effort.

For a people finder search without either an organization name or a first and a last name, it will require matches on all of the fields filled out.

Scores 

Search results are scored to determine their presentation order. Scores can be positive or negative, e.g. a DOB mismatch results in a negative score. The results are reflected in the results window by a column with Score stars. By holding the mouse cursor over the Score stars a small window will popup showing what matched for each result. (Scores and the results window are covered in greater detail below).

Which Fields are Searched

LegalServer searches the following fields (although not all of the fields must be filled in):

  • DOB
  • First name
  • Last name
  • Middle initial
  • Middle name
  • Nickname (Administrators can add Nicknames in Admin / Nicknames)
  • Organization name
  • Business, mobile, home, fax, or other phone number
  • Social Security Number
  • Suffix or Second Last Name
  • Visa Number/Alien Registration Number

Name Comparison Algorithms

LegalServer uses 2 name comparison algorithms, sounds similar and looks similar, to determine if a record will be considered a match and score enough points to be included in search results. 

These algorithms are implemented as functions in the database. Exact representations of the process, as opposed to the results, would run many pages. An analogy is spell check and grammar check; it is easy to see the results, but a step by step analysis of exactly how those functions are implemented in Word, WordPerfect, and other programs is not practical. Links for further reading are provided.

Looks Similar (Levenshtein Distance)

The algorithm for this rule is the Levenshtein distance, also called the Edit Distance algorithm. When presented with two names (or strings) the algorithm calculates the least number of edits needed to modify or transform one string into another. Taking the first names of Jan (the search term) and Janet (the potential result) as an example, the algorithm would calculate how many edits would be required to transform Jan into Janet. The answer in this case is 2, while to transform John into James the answer is 4. How the algorithm actually calculates the number is beyond the scope of this document, however, the greater the Levenshtein distance, the number of edits required, the greater the difference between the two names.

In LegalServer the result only qualifies as "looks similar" if the Levenshtein distance is 2 or less. Therefore, in the example of Jan and Janet where the score is 2, Janet would show in the results. However, if the search term was John, the score would be 4, and James would not show in the results.

Sounds Similar (Double Metaphone)

The algorithm employed for this rule is a phonetic algorithm called Double Metaphone. In an attempt to detect phonetic relationships between words, phonetic algorithms convert words to encoded representations of their pronunciation. Double Metaphone is the second generation of the Metaphone algorithm. It groups words not only by their spelling, but also by different pronunciations, attempting to compensate for irregularities in English of names Spanish, German, Slavic, and other origins.

Trigram

The Trigram algorithm is used when searching for people. it is enabled by default when searching organization names, but can be disabled on the Admin > Top Level Navigation/Search page by setting "Organization Search Includes "Similar" results" to No.

Trigram breaks a name into a list of trigrams, first prepending two spaces to the word and adding one space to the end — this effectively weights the beginning of the word higher than the end of the word. The similarity between two words is the number of shared trigrams divided by the number of unique trigrams. To be considered a match the similarity needs to be greater than 0.3. Examples:

  • Jon broken up into trigrams is {" j"," jo",jon,"on "} and John is {" j"," jo","hn ",joh,ohn}. They share two trigrams, " j" and " jo" out of a set of seven unique trigrams so their similarity is rated as 2/7, which is less than 3/10 so it is not a match.
  • Kathy {" k"," ka",ath,"hy ",kat,thy} and Kathleen {" k"," ka",ath,een,"en ",hle,kat,lee,thl} share four trigrams {" k"," ka",ath,kat} out of 11 unique, which is > 3/10 so they are considered a match.
  • Bug {" b"," bu",bug,"ug "} and Bugz {" b"," bu",bug,"gz ",ugz} share three {" b"," bu",bug} out of six unique so they are considered a match.

Scores and Ranking

The table below gives a breakdown of the various fields and scores. 

Scores can also include a link to a parent element. So when the search term in the first name field is John, a result of John would be: 

  • An exact match (4 points) 
  • A sounds similar match (4 points) and 
  • A nickname match (2 points)

The sounds similar and nickname both have the parent element of first, so the result will get the points for all three scores, or 10 points.

Configurable Settings

Administrators can customize searches within LegalServer on the Search tab of the Admin / Top Level Navigation Bar page.

Settings for All Searches (Conflict Searches and People Searches)

  • Cross Search Suffix/Second Last Name and Last Name. This option helps for people who have two last names. These names might be entered as a last name and a suffix (second last name) or in the last name field alone with a hyphen or separated by a space. This feature breaks down these combinations into single words and does cross comparisons. Recommended setting is Yes.
  • Ignore Common Suffixes. If Cross Search and this option are enabled, searches will ignore the follow suffixes: "jr", "jr.", "junior", "sr", "sr.", "senior", "dr", "dr.", "doctor", "esq", "esq.", "esquire", "ii", "iii" (searches are not case sensitive). Recommended setting is Yes.
  • Optimize for Many Results. This option is no longer relevant due to improvements in the database and will be removed. Recommend setting is No.
  • Strip Trailing "S" from Last Names when Searching. This also applies to suffix/second last names if Cross Search is enabled. Recommended setting is Yes.
  • DOB Search Method
    • Exact DOB match is enough to show in results is the default.
    • You can also choose that a matching DOB alone will be insufficient to include the record in the results.
    • The third choice is that the record containing a matching DOB will be included in the results unless the DOB is approximate.
  • SSN Search Method
    • Exact SSN match is enough to show in the results is the default.
    • The second option is that an exact SSN match is insufficient by itself to include the record in the results.
    • If the last four digits of the SSN match exactly, the record will be included in the results.

People Search 'Clients/Parties' Search Fields 

These settings determine if additional fields are displayed for "Clients/Parties" searches made using the red Search link or Search menu. Yes will display a field, No will hide it.

  • SSN
  • Alien Registration
  • Show Family ID Number
  • Show Person/Family Member's Docket Number
  • Show DHS Number
  • Begins With - displays a checkbox next to the First, Middle, and Last name fields.
  • Middle Name
  • Phone Number

People Search Types 

Selecting this option will enable searching for outreach records by name or ID number.

People Search Results 

These settings affect how search results are displayed for people finder searches.

  • Show Search Fields On Top Of Results By Default
  • Show Intake Office column
  • Include Litigation Results - this setting is deprecated and will be removed. The default setting of No is recommended.
  • Require at least partial match on first name - to avoid a high number of results especially for common last names, Yes is recommended.
  • Begins With excludes "Looks Like" and "Sounds Like" results - by default, 'Begins With' searches include 'sounds like' and 'looks like' results. Selecting Yes for this setting forces a search on only the literal string entered.  

Associate Other Cases with This Client Search Fields

  • Begins with checkbox - This option only affects the search page presented when using the Associate feature to associate other cases with an existing client.

How Users Run Searches

Users can run searches either directly from the red Search link (or Search menu) or through the client conflict search and adverse party forms.

The Search link and menu provide a way to search for people, cases, case notes, and other information in the database.

Clients/Parties searches and conflict searches produce a list of results that are possible matches. Although site administrators can re-order and hide the default columns, a typical results table looks like this:

Exact name matches in search results are shown in bold type. Each result also lists the case number, if the person is associated with a case, the Type of person they are (Client, Adverse Party, Contact, etc.) and several additional columns of information about the record. The last column is typically the Score column that shows the match ranking as a series of stars. Hold the mouse cursor over the stars for a result to get a popup detailing what was matched.

Optional Advanced Search Link in Client Conflict Searches

Administrators can configure the Conflict Search Results v2 block to display an Advanced Search link on client conflict search pages, as well as enter the text that is displayed.

As indicated, the link opens a new browser tab or window. This allows searching on variations and alternate spellings of the applicant's name without changing the name on the application itself. Depending on the site configuration, this will also allow performing Begins With searches on the name.

The Data Element is the field where the user inputs the search term. Remember that not all fields have to be filled out, but IF the search term is present, and LegalServer finds a potential result, it runs the algorithms, determines if there is a match, and applies the pertinent score. The text column shows the text the user will see when they hold the mouse cursor over the Score stars in the results window.
DATA ELEMENT SEARCH TERM POTENTIAL RESULT MATCH? SCORE TEXT
DOB Present Present NO -1 DOB does not match
DOB Present Present YES-Exact 2 DOB matches
First Name Present Present YES-Exact 4 First name matches
First Name Present Present Looks similar 2 First name looks similar
First Name Present Present Sounds similar 4 First name sounds similar
First Name Present Present Begins with 2 First name begins with
Last Name Present Present YES-Exact 4 Last name matches
Last Name Present Present Looks similar 2 Last name looks similar
Last Name Present Present Sounds similar 4 Last name sounds similar
Last Name Present Present Begins with 2 Last name begins with
Middle Initial Present Present YES 1 Middle initial matches
Middle Name Present Present YES 2 Middle name matches
Nickname Computed from provided first name Computed from provided first name YES 2 Nickname matches
Organization name full text index Present Present YES â€" Full text match 3 Organization name is similar
Organization Name Present Present YES Exact 4 Organization name matches
Business, mobile, home, fax, other phone number Present Present Yes - Partial 4 At least one phone number partially matches
Business, mobile, home, fax, other phone number Present Present Yes - Exact 4 At least one phone number matches
SSN partial Present Present YES - Partial
(if 4 digit SSN enabled)
(if 9 digit SSN enabled)
2/16/2015 Social Security Number partially matches
SSN Present Present YES - Exact
(if 4 digit SSN enabled)
(if 9 digit SSN enabled)
2/16/2015 Social Security Number matches
Suffix Present Present Sounds similar 2 Suffix sounds similar
Suffix Present Present Yes 2 Suffix matches
Visa Number/ A Number Present Present Yes - Partial 4 Visa Number/A Number partially matches
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us