You need to sign in to do that
Don't have an account?
PaulDyson
Excluding fields from SOSL search
Is it possible to exclude certain fields from SOSL searches. We are using SOSL to search custom objects and want all fields to be search bar one. That one contains an external reference, many of which happen to contain pairs of letters (CD, BA and so on) that also happen to be common search terms, leading to spurious results.
SOSL does not support exclusions. You can scope the fields to be included using exactly one of the scope options as described in the doc:
Not sure how your field is defined but if it doesn't fall into the scope for sidebar fields you might be able to get a decent result with that option. From the online help (you need to login) sidebar search scope for custom objects:
Fields Searched in Both Sidebar Search & Advanced Search