Jump to: navigation, search

Difference between revisions of "ESProxy"

Line 3: Line 3:
  
 
== '''Test ESProxy''' ==
 
== '''Test ESProxy''' ==
ESProxy service test can be done by clicking the Greeting Test link.
+
ESProxy service test can be done by clicking on Greeting Test link.
 
[http://192.168.180.93:9090/greeting Greeting Test]
 
[http://192.168.180.93:9090/greeting Greeting Test]
  
Line 13: Line 13:
 
* If you don’t have value for a field, no need to include in JSON. Payload will be smaller
 
* 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
 
* 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
 +
 +
== '''ESProxy Services''' ==

Revision as of 10:41, 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

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

ESProxy 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

ESProxy Services