Skip to content

ofergoli/elasticproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elasticproject

Elasticsearch API

http://localhost:3000/Function/Repo

Function - addAd/ deleteAdById/ updateAd/ searchAd/findAllAd Repo - adrepo


addAd - POST Content-Type : application/json data : valid json


deleteAdById - POST params - id: elasticsearch_unique_id


updateAd - POST Content-Type : application/json data : valid json for example: post to : http://localhost:3000/updateAd/adrepo { "name": "data" } will update field name to data , if you add additional field it will be added to the item json


search - Get Search parameters : query : q number of results : n (default 10) example : http://localhost:3000/updateAd/adrepo?q=binary options&n=10


findAll - Get Search parameters : example : http://localhost:3000/findAll/adrepo


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published