git.iko.soy/typeable/bloodhound
on master help sign in
Merge pull request #21 from MaxGabriel/fixLinks
561cda4Chris Allen
src/Database/Bloodhound/Client.hs+4−4
@@ -240,14 +240,14 @@ openOrCloseIndexes oci (Server server) (IndexName indexName) =
240 url = joinPath [server, indexName, ociString]
240 url = joinPath [server, indexName, ociString]
241
241
242-- | 'openIndex' opens an index given a 'Server' and an 'IndexName'. Explained in further detail at
242-- | 'openIndex' opens an index given a 'Server' and an 'IndexName'. Explained in further detail at
243−-- http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-open-close.html
243+-- <http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-open-close.html>
244--
244--
245-- >>> reply <- openIndex testServer testIndex
245-- >>> reply <- openIndex testServer testIndex
246openIndex :: Server -> IndexName -> IO Reply
246openIndex :: Server -> IndexName -> IO Reply
247openIndex = openOrCloseIndexes OpenIndex
247openIndex = openOrCloseIndexes OpenIndex
248
248
249-- | 'closeIndex' closes an index given a 'Server' and an 'IndexName'. Explained in further detail at
249-- | 'closeIndex' closes an index given a 'Server' and an 'IndexName'. Explained in further detail at
250−-- http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-open-close.html
250+-- <http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-open-close.html>
251--
251--
252-- >>> reply <- closeIndex testServer testIndex
252-- >>> reply <- closeIndex testServer testIndex
253closeIndex :: Server -> IndexName -> IO Reply
253closeIndex :: Server -> IndexName -> IO Reply
@@ -305,8 +305,8 @@ deleteDocument (Server server) (IndexName indexName)
305 (MappingName mappingName) (DocId docId) =
305 (MappingName mappingName) (DocId docId) =
306 delete $ joinPath [server, indexName, mappingName, docId]
306 delete $ joinPath [server, indexName, mappingName, docId]
307
307
308−-- | 'bulk' uses Elasticsearch's bulk API at
308+-- | 'bulk' uses
309−-- http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
309+-- <http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html Elasticsearch's bulk API>
310-- to perform bulk operations. The 'BulkOperation' data type encodes the
310-- to perform bulk operations. The 'BulkOperation' data type encodes the
311-- index/update/delete/create operations. You pass a 'V.Vector' of 'BulkOperation's
311-- index/update/delete/create operations. You pass a 'V.Vector' of 'BulkOperation's
312-- and a 'Server' to 'bulk' in order to send those operations up to your Elasticsearch
312-- and a 'Server' to 'bulk' in order to send those operations up to your Elasticsearch