on master help sign in
Merge branch 'bloodhound-versioning'
5fc2c6aMichael Xavier
katip-elasticsearch/addSources.shnew file+4
@@ -0,0 +1,4 @@
1+set -e
2+cabal sandbox init
3+
4+cabal sandbox add-source ../katip
katip-elasticsearch/katip-elasticsearch.cabal+1−1
@@ -20,7 +20,7 @@ library
20 build-depends:
20 build-depends:
21 base >=4.6 && <4.9
21 base >=4.6 && <4.9
22 , katip
22 , katip
23− , bloodhound >= 0.6 && < 0.7
23+ , bloodhound >= 0.7.0.1 && < 0.8
24 , random >= 1.0 && < 1.2
24 , random >= 1.0 && < 1.2
25 , uuid >= 1.3 && < 1.4
25 , uuid >= 1.3 && < 1.4
26 , aeson >=0.6 && <0.9
26 , aeson >=0.6 && <0.9
katip-elasticsearch/src/Katip/Scribes/ElasticSearch.hs+1−1
@@ -198,7 +198,7 @@ startWorker EsScribeCfg {..} env ix mapping q = go -- manual recursion here. is
198 Nothing -> return ()
198 Nothing -> return ()
199 sendLog v = void $ recovering essRetryPolicy [handler] $ do
199 sendLog v = void $ recovering essRetryPolicy [handler] $ do
200 did <- mkDocId
200 did <- mkDocId
201− runBH env $ indexDocument ix mapping v did
201+ runBH env $ indexDocument ix mapping defaultIndexDocumentSettings v did
202 eat _ = return ()
202 eat _ = return ()
203 handler _ = Handler $ \e ->
203 handler _ = Handler $ \e ->
204 case fromException e of
204 case fromException e of