Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

REST Index

Randgalt edited this page May 4, 2012 · 5 revisions

APIs concerning the backup, restore and searching of ZooKeeper transaction logs. See REST Entities for descriptions of any arguments/results.

newIndex

Create a new Lucene index for a transaction log.

Method POST
URL exhibitor/v1/index/new-index
Argument NewIndexRequest
Response Result

deleteIndex

Delete a previously created index.

Method DELETE
URL exhibitor/v1/index/{index-name}
Argument n/a
Response Result

getAvailableBackups

Return the previously backed-up transaction logs.

Method GET
URL exhibitor/v1/index/get-backups
Argument n/a
Response NameAndModifiedDate[]

getResult

Given an existing search, return details about the specified result.

Method GET
URL exhibitor/v1/index/get/{index-name}/{doc-id}
Argument n/a
Response SearchResult

getIndexedLogs

Return the list of indexed transaction logs that are available.

Method GET
URL exhibitor/v1/index/indexed-logs
Argument n/a
Response Index[]

releaseCache

Release an open search id.

Method GET
URL exhibitor/v1/index/release-cache/{index-name}/{search-id}
Argument n/a
Response Result

cacheSearch

Start a new search.

Method POST
URL exhibitor/v1/index/cache-search
Argument SearchRequest
Response SearchId
Clone this wiki locally