# Google Cloud Talent Solution V4 Client - Class KeywordMatchMode (2.3.0)

2.3.0 (latest) 2.2.1 2.1.3 2.0.2 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class KeywordMatchMode.

Controls what keyword matching behavior the search has. When keyword
matching is enabled, a keyword match returns jobs that may not match given
category filters when there are matching keywords. For example, for the
query "program manager" with KeywordMatchMode set to KEYWORD_MATCH_ALL, a
job posting with the title "software developer," which doesn't fall into
"program manager" ontology, and "program manager" appearing in its
description will be surfaced.

For queries like "cloud" that don't contain title or
location specific ontology, jobs with "cloud" keyword matches are returned
regardless of this enum's value.
Use
[Company.keyword_searchable_job_custom_attributes](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Company#_Google_Cloud_Talent_V4_Company__getKeywordSearchableJobCustomAttributes__)
if company-specific globally matched custom field/attribute string values
are needed. Enabling keyword match improves recall of subsequent search
requests.

Protobuf type `google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode`

## Namespace

Google \\ Cloud \\ Talent \\ V4 \\ SearchJobsRequest

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### KEYWORD_MATCH_MODE_UNSPECIFIED

    Value: 0

The keyword match option isn't specified. Defaults to
[KeywordMatchMode.KEYWORD_MATCH_ALL](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.SearchJobsRequest.KeywordMatchMode#_Google_Cloud_Talent_V4_SearchJobsRequest_KeywordMatchMode__KEYWORD_MATCH_ALL)
behavior.

Generated from protobuf enum `KEYWORD_MATCH_MODE_UNSPECIFIED = 0;`

### KEYWORD_MATCH_DISABLED

    Value: 1

Disables keyword matching.

Generated from protobuf enum `KEYWORD_MATCH_DISABLED = 1;`

### KEYWORD_MATCH_ALL

    Value: 2

Enable keyword matching over
[Job.title](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getTitle__),
[Job.description](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getDescription__),
[Job.company_display_name](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getCompanyDisplayName__),
[Job.addresses](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getAddresses__),
[Job.qualifications](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getQualifications__), and
keyword searchable
[Job.custom_attributes](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getCustomAttributes__)
fields.

Generated from protobuf enum `KEYWORD_MATCH_ALL = 2;`

### KEYWORD_MATCH_TITLE_ONLY

    Value: 3

Only enable keyword matching over
[Job.title](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getTitle__).

Generated from protobuf enum `KEYWORD_MATCH_TITLE_ONLY = 3;`