Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
28 lines (22 loc) · 701 Bytes

apis.md

File metadata and controls

28 lines (22 loc) · 701 Bytes

APIs


1. Count

  • counts the documents in an indices
  • Input: index name

2. Exists

  • Used for checking if the document exists or not
  • It is also used for checking if the index exists or not Exists API

3. Update

  • update the document present in the index
  • Input:
    • Index_name
    • document_id

Update document

  • when you try to update the document which is Not present, then update method will create a document with specified id. But ypu need to do some following stuff

update as upsert


for code: [click me]