Spell Checking
If you give any wrong input while searching, this API will check and correct it.
API URL
The Spell Checking API uses the below URL:
https://searchengine.rchilli.com/RChilliSearchEngineAPI/RChilli/spellCheck
API Endpoint
The Spell Checking API uses the below endpoint:/spellCheck
API Method
The Spell Checking API uses only POST method.API Request Type
The Spell Checking API uses JSON request type.API Request Headers
| Header | Data Type | Description | 
|---|---|---|
| Content-Type | string | Indicates the input type of the incoming request body. The
                                    only supported value is application/json. | 
API Parameters
To execute Spell Checking API, the following parameters in the JSON request are
                    needed:
        | Name | Type | Description | Remarks | 
|---|---|---|---|
| indexType | String | Type of the file i.e Resume or JD | Optional | 
| indexKey | String | Use your user key as shared by RChilli team | Required | 
| keyword | String | Mention the keyword | Required | 
| fieldType | String | The fieldType is jobprofile or skill | Required | 
JSON Request For Spell Checking API
{
    "index": {
        "indexType": "Resume",
        "indexKey": "Your API key"
    },
    "keyword": "projct Manager",
    "fieldType": "jobprofile"
}JSON Response For Spell Checking API
[
    {
        "SearchWord": "projct manager",
        "Suggestions": [
            "project manager",
            "product manager"
        ]
    }
]