Check Document Index

This API is used to check whether a document is indexed or not with given document ID.

API URL

The Check Document Index API uses the below URL:

https://searchengine.rchilli.com/RChilliSearchEngineAPI/RChilli/checkDocumentIndex

API Endpoint

The Check Document Index API uses the below endpoint:

/checkDocumentIndex

API Method

TheCheck Document Index API uses only POST method.

API Request Type

The Check Document Index 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 Check Document Index 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 Required
indexKey String Use your user key as shared by RChilli team Required
subUserId Array Your user's unique_id
Note: Make sure that there is no space in your subuser_id
Optional
documentId String Document Id Required

JSON Request For Check Document Index - Resume

{
  "index": {
    "indexKey": "Your user key",
    "indexType": "Resume",
    "subUserId": "user 1"
  },
  "documentId": "37"
}

JSON Response For Check Document Index - Resume

{
	"status":"document is indexed with this provided id (37) for Index Key - Your User Key, Index Type - Resume, Sub User Id - user 1"
}

JSON Request For Check Document Index - JD

{
  "index": {
    "indexKey": "Your user key",
    "indexType": "JD",
    "subUserId": "user 1"
  },
  "documentId": "1234"
} 

JSON Response For Check Document Index - JD

{
	"status":"document is indexed with this provided id (1234) for Index Key - Your User Key, Index Type - JD, Sub User Id - user 1"
}