mirror of
https://github.com/typeable/bloodhound.git
synced 2024-10-06 05:17:09 +03:00
Set shards/replicas to 1/0 for doctesting
This commit is contained in:
parent
60f1c70f4f
commit
5f29058554
@ -91,7 +91,7 @@ import Database.Bloodhound.Types
|
||||
-- >>> let runBH' = withBH defaultManagerSettings testServer
|
||||
-- >>> let testIndex = IndexName "twitter"
|
||||
-- >>> let testMapping = MappingName "tweet"
|
||||
-- >>> let defaultIndexSettings = IndexSettings (ShardCount 3) (ReplicaCount 2)
|
||||
-- >>> let defaultIndexSettings = IndexSettings (ShardCount 1) (ReplicaCount 0)
|
||||
-- >>> data TweetMapping = TweetMapping deriving (Eq, Show)
|
||||
-- >>> _ <- runBH' $ deleteIndex testIndex >> deleteMapping testIndex testMapping
|
||||
-- >>> import GHC.Generics
|
||||
|
Loading…
Reference in New Issue
Block a user