Request Example
To get the search and match output data, send a POST request using search and match endpoints, methods, and parameters.
Request Body for Simple Search for Resume
JSON request body structure
(HTTP):
POST /RChilliSearchEngineAPI/RChilli/simpleSearch HTTP/1.1
Host: searchengine.rchilli.com
Content-Type: application/json
Content-Length: 717
{
"index": {
"indexType": "{{indextype}}",
"indexKey": "{{indexkey}}",
},
"query": {
"keyword": "Software Developer with 15 year experince and have B.Tech from Pune worked Wipro having knowledge of Java and PHP"
},
"geoSearch": {
"city": "Pune",
"state": "Maharashtra",
"country": "India",
"radius": 30
},
"facet": {
"fields": [
"Skill",
"CurrentJobProfile",
"CurrentEmployer"
],
"limit": 10
},
"filter": {
"Skill":["PHP"]
},
"pageSize": 10,
"pageStart": 0,
"explainScore": true,
"explainScoreType": "json"
}
CURL request body
structure:
curl --location -g --request POST 'https://searchengine.rchilli.com/RChilliSearchEngineAPI/RChilli/simpleSearch' \
--header 'Content-Type: application/json' \
--data-raw '{
"index": {
"indexType": "{{indextype}}",
"indexKey": "{{indexkey}}",
},
"query": {
"keyword": "Software Developer with 15 year experince and have B.Tech from Pune worked Wipro having knowledge of Java and PHP"
},
"geoSearch": {
"city": "Pune",
"state": "Maharashtra",
"country": "India",
"radius": 30
},
"facet": {
"fields": [
"Skill",
"CurrentJobProfile",
"CurrentEmployer"
],
"limit": 10
},
"filter": {
"Skill":["PHP"]
},
"pageSize": 10,
"pageStart": 0,
"explainScore": true,
"explainScoreType": "json"
}'
Request Body for Simple Search for JD
JSON request body structure
(HTTP):
POST /RChilliSearchEngineAPI/RChilli/simpleSearch HTTP/1.1
Host: searchengine.rchilli.com
Content-Type: application/json
Content-Length: 717
{
"index": {
"indexType": "{{indextype}}",
"indexKey": "{{indexkey}}",
},
"query": {
"keyword": "Software Developer with 15 year experince and have B.Tech from Pune worked Wipro having knowledge of Java and PHP"
},
"geoSearch": {
"city": "Pune",
"state": "Maharashtra",
"country": "India",
"radius": 30
},
"facet": {
"fields": [
"Skill",
"CurrentJobProfile",
"CurrentEmployer"
],
"limit": 10
},
"filter": {
"Skill":["PHP"]
},
"pageSize": 10,
"pageStart": 0,
"explainScore": true,
"explainScoreType": "json"
}
CURL request body
structure:
curl --location -g --request POST 'https://searchengine.rchilli.com/RChilliSearchEngineAPI/RChilli/simpleSearch' \
--header 'Content-Type: application/json' \
--data-raw '{
"index": {
"indexType": "{{indextype}}",
"indexKey": "{{indexkey}}"
},
"query": {
"keyword": "Software Developer job in Java or PHP"
},
"facet": {
"fields": [
"Skill",
"JobProfile",
"Employer"
],
"limit": 10
},
"filter": {
"Skill":["PHP"]
},
"pageSize": 10,
"pageStart": 0,
"explainScore": true,
"explainScoreType": "json"
}'
Note: For other search and match endpoints request, refer
RChilli APIs using Postman
and get more information on how you can quickly get started with search and match
endpoints. This provides the technical information needed to access the RChilli
services in flexible ways that will allow RChilli search and match API to work
seamlessly inside your application.