Cloud Talent Solution allows users to search against jobs that you store in the Job Search index. Job Search is designed to be customizable and can be altered to meet your business needs. This page is an overview of the search functions available in CTS Job Search.
Making search requests
To make a Job Search request, send a POST request to the
endpoint, passing the search data in the body.
Commonly used fields (optional)
JobQueryobject consists of two components, a
querystring and the filter(s) applied to that string. This feature allows your users to search on a query string (such as "communications assistant") using one or more filters (location, commute time, compensation, and so on). See Search Filters for more information and a list of available filter options.
searchMode: Specifies the type of search to apply. Options are:
JOB_SEARCH(recommended): This is the default search mode, which searches against all Job objects. The most relevant jobs are returned to the user in the order of relevance to the search query.
FEATURED_JOB_SEARCH: Searches only for Job objects with a
promotionValuegreater than 0. Results are ordered by the highest
promotionValuefirst; in the case of a tie, relevance is used to decide position. See Featured Jobs for more information.
jobView: Defines the number of fields that are returned for each matching Job object. Can be
JOB_VIEW_FULL. Descriptions for each option can be found in the
orderBy: The sort order for returned Jobs. See the reference documentation for allowed values. The default is to sort by relevance, descending (
The following field is required:
requestMetadata: Contains user and session information for this search request.
Every search and histogram request must include a
object. This object contains information about the user initiating the search.
It is important for two main reasons:
User consistency: Cloud Talent Solution runs several versions of the underlying models simultaneously to improve search relevance. CTS ensures that a job seeker (identified by userId, sessionId, and domain) has a consistent experience. These fields should be obfuscated.
Search improvements: The tuning algorithms are based on the information provided in the
RequestMetadatafields along with the job seekers' data you provide. This improves search result relevance.
Using search operators
The search operators in the table below may be used alone or in combination.
|( )||Groups one or more keywords together.|
|OR||Searches for results relevant to the keywords or groups of keywords on either side of the operator. Example:
|AND||Searches for results relevant to the keywords or groups of keywords on both sides of the operator. Example:
|NOT||Excludes results relevant to the keyword or group of keywords immediately following the operator. The keyword or group of keywords must be in parentheses.|
|-||Excludes results relevant to the keyword or group of keywords after to the operator. Example:
|reqid:||Returns jobs with the specified requisition ID. Example, reqid:1234 returns jobs with requisition ID 1234.|
Job seeker queries
Search terms can also be detected as actual Job-related entities. For example,
if a user queries for "intern", Cloud Talent Solution treats this as the
INTERN and filters on Jobs with the designation
EMPLOYMENT_TYPE - INTERN. Therefore, even a Job object with "intern" in its
description would not be returned if the
EMPLOYMENT_TYPE field for that Job
was set to something else.
Each search request generates a unique search
requestID in the Job Search
system. This value is used to track the parameters of that search as well as the
response. This is crucial in troubleshooting issues related to specific searches
or CRUD requests, and should be appropriately logged. The
returned inside the
field in the search response
or the associated CRUD call response object.
For support issues that relate to relevance, search inquiries, indexing
inquiries, and so on, please file a ticket
with our support team and include relevant
requestIDs or the requests
The result count is used to communicate the number of search results to the job seeker. This doesn't always correspond to the histogram results or the actual number of jobs returned.
By default, Job Search will return up to 100 results. You can implement pagination using the fields associated with this feature:
pageSize: The number of results returned per page.
nextPageToken: A unique token, returned with the results of each page of search results, that specifies the starting position for the next page of results. This field is left empty if there are no more results.
offset: Specifies the offset between the relevance ranking of the job returned at the top of a given page and 1 (the most relevant Job returned). As an example, a user performs a search and
pageSizeis set to 10. The first page returns the #1 job at the top, therefore the
offsetvalue for this page is 0. The next page returns job #11 at the top;
offsetfor this page is 10.
Set the page size to 20 results or less to avoid latency issues. As a best practice, issue a separate search call per page rendered to the job seeker. The alternative, a single search call to return a larger number of jobs and paginating on the client side, impedes the ability of the machine learning model to learn accurately through the Jobs Analytics Framework.
Spell check is an optional feature of a CTS search request
It accounts for potentially misspelled search terms, corrects them and returns
results based on the corrected query. For example, when spell check is enabled,
if a job seeker searches for "manaer" instead of "manager",
CTS returns jobs for "manager". Spell check can be
enabled/disabled by setting the
disableSpellCheck field of the search request.
If spell checking is enabled, the corrected query can be found in the search
response, in the