The How Does Search Break Up Information? documentation details how tokenization of data works for Salesforce search indexing.
There could be times where users may want to search for a part of the value in their Searchable Field, but the way the term is tokenized may not yield expected results.
Example:
Let's say we have a Car Dealership where customers call to schedule an appointment for an oil change; the representative would need the last 4 Digits of the Vehicle Identification Number (VIN) to identify their customers, for example '1HGBH41JXMN109186'.
Here's the list of tokens the representative can use to search for its customer:
| Indexed Term | Search Term |
| 1HGBH41JXMN109186 | 1HGBH41JXMN109186 HGBH 41 JXMN 109186 |
When the representative searches for '9186' they get no results, appending a wildcard at the beginning of the search term does not return the expected results, i.e., searching for *9186 does not return '1HGBH41JXMN109186'.
Note: Appending a wildcard at the beginning of the search term is only supported in Standard Lookups. Please note that Standard Lookups are available in Classic UI only.
Ideally, Users would need to search using one of the tokens mentioned above to return the record. However, with the help of a little behind the scenes customization it's possible to return records via searching the last 4 digits of the value in the VIN# (VIN__c custom field for example).
000383915

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.