@@ -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'.