git.iko.soy/typeable/bloodhound
on master help sign in
Set shards/replicas to 1/0 for doctesting
commit5f290585542434c3cec1ba51e0cb1f2e6f8e375f authorJohn Galt <centromere@users.noreply.github.com> dateWed 29 Jul 2015, 13:12 (11 years ago) parent60f1c70
1 file changed+1−1
src/Database/Bloodhound/Client.hs+1−1
src/Database/Bloodhound/Client.hs+1−1
@@ -91,7 +91,7 @@ import Database.Bloodhound.Types
9191-- >>> let runBH' = withBH defaultManagerSettings testServer
9292-- >>> let testIndex = IndexName "twitter"
9393-- >>> let testMapping = MappingName "tweet"
94−-- >>> let defaultIndexSettings = IndexSettings (ShardCount 3) (ReplicaCount 2)
94+-- >>> let defaultIndexSettings = IndexSettings (ShardCount 1) (ReplicaCount 0)
9595-- >>> data TweetMapping = TweetMapping deriving (Eq, Show)
9696-- >>> _ <- runBH' $ deleteIndex testIndex >> deleteMapping testIndex testMapping
9797-- >>> import GHC.Generics