Jump to: navigation, search

Difference between revisions of "ESProxy"

(List of Services)
(List of Services)
Line 33: Line 33:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Service !! Description !! Serice URL
+
! Service !! Description !! Service URL
 
|-
 
|-
 
| Add Job || Add a job to elastic search index || http://192.168.180.93:9090/addJob
 
| Add Job || Add a job to elastic search index || http://192.168.180.93:9090/addJob

Revision as of 11:33, 31 July 2015

Overview

This document provides details on Elastic search proxy services deployed on small data cluster. These services are used by PHPFox job board to provide jobs/resume matching for job seekers/employers

Test

ESProxy service test can be done by clicking on Greeting Test link. Greeting Test

You can use Google tool 'Advanced REST client' for all kind of ESPRoxy services test by adding as a Chrome extension into your browser.

Chrome Extension

Service Guidelines

  • Make sure JSON pay load is valid. You can use external tools such as http://jsonformatter.curiousconcept.com/
  • Make sure to send data as per the field. For example, don’t send strings in number fields such as salary or experience.
  • Follow mm/dd/yyyy format for all dates
  • If you don’t have value for a field, no need to include in JSON. Payload will be smaller
  • When you construct JSON, make sure to use filed name as is. Its case sensitive. If you don’t use these names, we’ll create a new field assuming it’s a new attribute. So you must follow field names properly when constructing JSON

List of Services

ESProxy services are divided into following multiple categories.

  1. Data Services
  2. Freelancer Servcies
  3. Directory Servcies
  4. Search Services
  5. Recommendation Services
  6. Suggestion Services


Data Services

Service Description Service URL
Add Job Add a job to elastic search index http://192.168.180.93:9090/addJob
Update Job Update an existing job http://192.168.180.93:9090/updateJob/uorrF_M-RxeByQBGsATx7Q
Get Job Details Get details on a specific job posting http://192.168.180.93:9090/getJobDetail/lWDaBYCVQZid2DvCUuEkvQ
Add Rating Add ratings for a specific job posting. Used for collaborative filtering http://192.168.180.93:9090/addRating
Update Rating Update an existing rating http://192.168.180.93:9090/updateRating/gLl_eYo1Q6yT-I8odDliZg
Get Rating Detail Get details on a specific rating http://192.168.180.93:9090/getRatingDetail/gLl_eYo1Q6yT-I8odDliZg
Add Resume Add Resume http://192.168.180.93:9090/addResume
Update Resume Update existing resume http://192.168.180.93:9090/updateResume/22VN4p3zSDyUEtcqfQpkQA
Delete Job Delete a job http://192.168.180.93:9090/deleteJob
Delete Resume Delete Resume http://192.168.180.93:9090/deleteResume