public class SovrenUIClient extends Object
SovrenClient.ui(MatchUISettings)| Modifier and Type | Method and Description |
|---|---|
<TTarget extends IParsedDocWithId> |
bimetricScore(ParsedJobWithId sourceJob,
List<TTarget> targetDocuments,
CategoryWeights preferredWeights,
SearchMatchSettings settings)
Create a Matching UI session to score one or more target documents against a source job
|
<TTarget extends IParsedDocWithId> |
bimetricScore(ParsedResumeWithId sourceResume,
List<TTarget> targetDocuments,
CategoryWeights preferredWeights,
SearchMatchSettings settings)
Create a Matching UI session to score one or more target documents against a source resume
|
GenerateUIResponse |
match(ParsedJob job,
List<String> indexesToQuery,
CategoryWeights preferredWeights,
FilterCriteria filters,
SearchMatchSettings settings,
int numResults)
Create a Matching UI session to find matches for a non-indexed job.
|
GenerateUIResponse |
match(ParsedResume resume,
List<String> indexesToQuery,
CategoryWeights preferredWeights,
FilterCriteria filters,
SearchMatchSettings settings,
int numResults)
Create a Matching UI session to find matches for a non-indexed resume.
|
GenerateUIResponse |
match(String indexId,
String documentId,
List<String> indexesToQuery,
CategoryWeights preferredWeights,
FilterCriteria filters,
SearchMatchSettings settings,
int numResults)
Create a Matching UI session to find matches for a resume or job that is already indexed
|
GenerateUIResponse |
search(List<String> indexesToQuery,
FilterCriteria query,
SearchMatchSettings settings,
PaginationSettings pagination)
Create a Matching UI session to search for resumes or jobs that meet specific criteria
|
public GenerateUIResponse match(ParsedResume resume, List<String> indexesToQuery, CategoryWeights preferredWeights, FilterCriteria filters, SearchMatchSettings settings, int numResults) throws SovrenException
resume - The resume (generated by the Sovren Resume Parser) to use as the source for a match queryindexesToQuery - The indexes to find results in. These must all be of the same type (resumes or jobs)preferredWeights - The preferred category weights for scoring the results. If null,
Sovren will determine the best values based on the source resumefilters - Any filters to apply prior to the match (a result must satisfy all the filters), or nullsettings - The settings for this match request. Use null for defaults.numResults - The number of results to show. Use 0 for the default.SovrenException - Thrown when an API error occurspublic GenerateUIResponse match(ParsedJob job, List<String> indexesToQuery, CategoryWeights preferredWeights, FilterCriteria filters, SearchMatchSettings settings, int numResults) throws SovrenException
job - The job (generated by the Sovren Job Parser) to use as the source for a match queryindexesToQuery - The indexes to find results in. These must all be of the same type (resumes or jobs)preferredWeights - The preferred category weights for scoring the results. If null,
Sovren will determine the best values based on the source jobfilters - Any filters to apply prior to the match (a result must satisfy all the filters), or nullsettings - The settings for this match request. Use null for defaults.numResults - The number of results to show. Use 0 for the default.SovrenException - Thrown when an API error occurspublic GenerateUIResponse match(String indexId, String documentId, List<String> indexesToQuery, CategoryWeights preferredWeights, FilterCriteria filters, SearchMatchSettings settings, int numResults) throws SovrenException
indexId - The index containing the document you want to matchdocumentId - The ID of the document to matchindexesToQuery - The indexes to find results in. These must all be of the same type (resumes or jobs)preferredWeights - The preferred category weights for scoring the results. If null,
Sovren will determine the best values based on the source resume/jobfilters - Any filters to apply prior to the match (a result must satisfy all the filters), or nullsettings - The settings for this match request. Use null for defaults.numResults - The number of results to show. Use 0 for the default.SovrenException - Thrown when an API error occurspublic GenerateUIResponse search(List<String> indexesToQuery, FilterCriteria query, SearchMatchSettings settings, PaginationSettings pagination) throws SovrenException
indexesToQuery - The indexes to find results in. These must all be of the same type (resumes or jobs)query - The search query. A result must satisfy all of these criteriasettings - The settings for this search request. Use null for defaults.pagination - Pagination settings. Use null for defaults.SovrenException - Thrown when an API error occurspublic <TTarget extends IParsedDocWithId> GenerateUIResponse bimetricScore(ParsedResumeWithId sourceResume, List<TTarget> targetDocuments, CategoryWeights preferredWeights, SearchMatchSettings settings) throws SovrenException
TTarget - Either ParsedResumeWithId or ParsedJobWithIdsourceResume - The source resumetargetDocuments - The target resumes/jobspreferredWeights - The preferred category weights for scoring the results. If null,
Sovren will determine the best values based on the source resume.settings - The settings for this search request. Use null for defaults.SovrenException - Thrown when an API error occurspublic <TTarget extends IParsedDocWithId> GenerateUIResponse bimetricScore(ParsedJobWithId sourceJob, List<TTarget> targetDocuments, CategoryWeights preferredWeights, SearchMatchSettings settings) throws SovrenException
TTarget - Either ParsedResumeWithId or ParsedJobWithIdsourceJob - The source jobtargetDocuments - The target resumes/jobspreferredWeights - The preferred category weights for scoring the results. If null,
Sovren will determine the best values based on the source job.settings - The settings for this search request. Use null for defaults.SovrenException - Thrown when an API error occursCopyright © 2021. All rights reserved.