bloodhound 0.20.0.0 → 0.20.0.1
raw patch · 5 files changed
+4/−27 lines, 5 files
Files
- README.md +0/−10
- bloodhound.cabal +1/−1
- src/Database/Bloodhound/Client.hs +1/−5
- src/Database/Bloodhound/Internal/Client/BHRequest.hs +1/−6
- src/Database/Bloodhound/Types.hs +1/−5
README.md view
@@ -21,16 +21,6 @@ Version compatibility --------------------- -As of version 0.13.0.0, Bloodhound has 2 separate module trees for-Elasticsearch versions 1 and 5. Import the module that is appropriate-for your use case. If you would like to add support for another major-version, open a ticket expressing your intend and follow the pattern-used for other versions. We weighed the idea of sharing code between-versions but it just got too messy, especially considering the-instability of the Elasticsearch API. We switched to a model which-would allow the persons responsible for a particular protocol version-to maintain that version while avoiding conflict with other versions.- See our [TravisCI](https://travis-ci.org/bitemyapp/bloodhound) for a listing of Elasticsearch version we test against.
bloodhound.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: bloodhound-version: 0.20.0.0+version: 0.20.0.1 synopsis: Elasticsearch client library for Haskell description: Elasticsearch made awesome for Haskell hackers category: Database, Search
src/Database/Bloodhound/Client.hs view
@@ -4,19 +4,15 @@ {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TupleSections #-} -{- ORMOLU_DISABLE -}-------------------------------------------------------------------------------- -- | -- Module : Database.Bloodhound.Client -- Copyright : (C) 2014, 2018 Chris Allen -- License : BSD-style (see the file LICENSE) -- Maintainer : Chris Allen <cma@bitemyapp.com> -- Stability : provisional--- Portability : OverloadedStrings+-- Portability : GHC -- -- Client side functions for talking to Elasticsearch servers.---------------------------------------------------------------------------------{- ORMOLU_ENABLE -} module Database.Bloodhound.Client ( -- * Bloodhound client functions
src/Database/Bloodhound/Internal/Client/BHRequest.hs view
@@ -3,8 +3,6 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TypeFamilies #-} -{- ORMOLU_DISABLE -}-------------------------------------------------------------------------------- -- | -- Module : Database.Bloodhound.Client -- Copyright : (C) 2014, 2018 Chris Allen@@ -14,9 +12,6 @@ -- Portability : GHC -- -- Client side abstractions to interact with Elasticsearch servers.---------------------------------------------------------------------------------{- ORMOLU_ENABLE -}- module Database.Bloodhound.Internal.Client.BHRequest ( -- * Request BHRequest (..),@@ -115,7 +110,7 @@ bhRequestEndpoint :: Endpoint, bhRequestBody :: Maybe BL.ByteString }- deriving stock (Eq, Show)+ deriving stock (Show) -- | 'BHRequest' with a body mkFullRequest :: NHTM.Method -> Endpoint -> BL.ByteString -> BHRequest body
src/Database/Bloodhound/Types.hs view
@@ -7,15 +7,13 @@ {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE UndecidableInstances #-} -{- ORMOLU_DISABLE -}-------------------------------------------------------------------------------- -- | -- Module : Database.Bloodhound.Types -- Copyright : (C) 2014, 2018 Chris Allen -- License : BSD-style (see the file LICENSE) -- Maintainer : Chris Allen <cma@bitemyapp.com -- Stability : provisional--- Portability : RecordWildCards+-- Portability : GHC -- -- Data types for describing actions and data structures performed to interact -- with Elasticsearch. The two main buckets your queries against Elasticsearch@@ -23,8 +21,6 @@ -- traditional database constraints and often have preferable performance -- properties. 'Query's support human-written textual queries, such as fuzzy -- queries.---------------------------------------------------------------------------------{- ORMOLU_ENABLE -} module Database.Bloodhound.Types ( defaultCache, defaultIndexSettings,