Searchly exposes ElasticSearch’s JSON API via http protocol.
It is best to follow ElasticSearch’s API documentation to start with Searchly API.
Searchly uses HTTP basic authentication with both HTTP and HTTPS.
Searchly API url structure;
For instance if your apiKey is “abcdefg123456” and you have created an index named “test-index”, API url for this index can be seen below;
After signing up to Searchly, you can test basic features with ease.
Create an index via api (If you try to post documents to an index which is not created yet, it will be automatically created):
Add a document to index:
Search this document:
Index refresh times are set to 1 second and can not be invoked via API.
While creating an index below parameters are ignored;
Additionally, all administrative features of ElasticSearch are restricted from the API. Here list of banned ElasticSearch resources to call:
Also we do not support warmer’s.