@@ -23,6 +23,7 @@ module Database.Bloodhound.Client
26 , createIndex
27 , createIndex
27 , deleteIndex
28 , deleteIndex
28 , updateIndexSettings
29 , updateIndexSettings
@@ -32,18 +33,23 @@ module Database.Bloodhound.Client
32 , openIndex
33 , openIndex
33 , closeIndex
34 , closeIndex
34 , listIndices
35 , listIndices
35 , updateIndexAliases
37 , updateIndexAliases
36 , getIndexAliases
38 , getIndexAliases
39+ -- *** Index Templates
37 , putTemplate
40 , putTemplate
38 , templateExists
41 , templateExists
39 , deleteTemplate
42 , deleteTemplate
40 , putMapping
44 , putMapping
41 , deleteMapping
45 , deleteMapping
42 , indexDocument
47 , indexDocument
43 , updateDocument
48 , updateDocument
44 , getDocument
49 , getDocument
45 , documentExists
50 , documentExists
46 , deleteDocument
51 , deleteDocument
47 , searchAll
53 , searchAll
48 , searchByIndex
54 , searchByIndex
49 , searchByType
55 , searchByType
@@ -59,14 +65,19 @@ module Database.Bloodhound.Client
59 , mkShardCount
65 , mkShardCount
60 , mkReplicaCount
66 , mkReplicaCount
61 , getStatus
67 , getStatus
68+ -- ** Snapshot/Restore
69+ -- *** Snapshot Repos
62 , getSnapshotRepos
70 , getSnapshotRepos
63 , updateSnapshotRepo
71 , updateSnapshotRepo
64 , verifySnapshotRepo
72 , verifySnapshotRepo
65 , deleteSnapshotRepo
73 , deleteSnapshotRepo
66 , createSnapshot
75 , createSnapshot
67 , getSnapshots
76 , getSnapshots
68 , deleteSnapshot
77 , deleteSnapshot
78+ -- *** Restoring Snapshots
69 , restoreSnapshot
79 , restoreSnapshot
80+ -- ** Request Utilities
70 , encodeBulkOperations
81 , encodeBulkOperations
71 , encodeBulkOperation
82 , encodeBulkOperation
72 -- * Authentication
83 -- * Authentication