git.iko.soy/typeable/bloodhound
on master help sign in
Fix typo
commita9e893ea7619e4bcb70f96121394e8e47b343f72 authorJustin White <justinwhite321@gmail.com> dateMon 6 Mar 2017, 23:30 (10 years ago) parente7eab66
2 files changed+3−3
src/Database/V1/Bloodhound/Client.hs+1−1 src/Database/V5/Bloodhound/Client.hs+2−2
src/Database/V1/Bloodhound/Client.hs+1−1
@@ -794,7 +794,7 @@ searchByType (IndexName indexName)
794794 (MappingName mappingName) = bindM2 dispatchSearch url . return
795795 where url = joinPath [indexName, mappingName, "_search"]
796796
797−-- | For a given scearch, request a scroll for efficient streaming of
797+-- | For a given search, request a scroll for efficient streaming of
798798-- search results. Note that the search is put into 'SearchTypeScan'
799799-- mode and thus results will not be sorted. Combine this with
800800-- 'advanceScroll' to efficiently stream through the full result set
src/Database/V5/Bloodhound/Client.hs+2−2
@@ -939,7 +939,7 @@ searchByType (IndexName indexName)
939939 (MappingName mappingName) = bindM2 dispatchSearch url . return
940940 where url = joinPath [indexName, mappingName, "_search"]
941941
942−-- | For a given scearch, request a scroll for efficient streaming of
942+-- | For a given search, request a scroll for efficient streaming of
943943-- search results. Note that the search is put into 'SearchTypeScan'
944944-- mode and thus results will not be sorted. Combine this with
945945-- 'advanceScroll' to efficiently stream through the full result set
@@ -956,7 +956,7 @@ getInitialScroll (IndexName indexName) (MappingName mappingName) search' = do
956956 resp' <- bindM2 dispatchSearch url (return search)
957957 parseEsResponse resp'
958958
959−-- | For a given scearch, request a scroll for efficient streaming of
959+-- | For a given search, request a scroll for efficient streaming of
960960-- search results. Combine this with 'advanceScroll' to efficiently
961961-- stream through the full result set. Note that this search respects
962962-- sorting and may be less efficient than 'getInitialScroll'.