@@ -539,7 +539,7 @@ data ForceMergeIndexSettings =
541{-| 'defaultForceMergeIndexSettings' implements the default settings that
541{-| 'defaultForceMergeIndexSettings' implements the default settings that
542− ElasticSearch uses for index optimization. 'maxNumSegments' is Nothing,
542+ Elasticsearch uses for index optimization. 'maxNumSegments' is Nothing,
543 'onlyExpungeDeletes' is False, and flushAfterOptimize is True.
543 'onlyExpungeDeletes' is False, and flushAfterOptimize is True.
545defaultForceMergeIndexSettings :: ForceMergeIndexSettings
545defaultForceMergeIndexSettings :: ForceMergeIndexSettings
@@ -700,10 +700,10 @@ instance FromJSON TokenFilterDefinition where
700 _ -> fail ("unrecognized token filter type: " ++ T.unpack t)
700 _ -> fail ("unrecognized token filter type: " ++ T.unpack t)
702-- | The set of languages that can be passed to various analyzers,
702-- | The set of languages that can be passed to various analyzers,
703−-- filters, etc. in ElasticSearch. Most data types in this module
703+-- filters, etc. in Elasticsearch. Most data types in this module
704-- that have a 'Language' field are actually only actually to
704-- that have a 'Language' field are actually only actually to
705-- handle a subset of these languages. Consult the official
705-- handle a subset of these languages. Consult the official
706−-- ElasticSearch documentation to see what is actually supported.
706+-- Elasticsearch documentation to see what is actually supported.
707data Language
707data Language
709 | Armenian
709 | Armenian
@@ -750,7 +750,7 @@ instance ToJSON Language where
751instance FromJSON Language where
751instance FromJSON Language where
752 parseJSON = withText "Language" $ \t -> case languageFromText t of
752 parseJSON = withText "Language" $ \t -> case languageFromText t of
753− Nothing -> fail "not a supported ElasticSearch language"
753+ Nothing -> fail "not a supported Elasticsearch language"
754 Just lang -> return lang
754 Just lang -> return lang
756languageToText :: Language -> Text
756languageToText :: Language -> Text
@@ -1066,11 +1066,11 @@ data EsError = EsError { errorStatus :: Int
1066 , errorMessage :: Text } deriving (Eq, Read, Show, Generic, Typeable)
1066 , errorMessage :: Text } deriving (Eq, Read, Show, Generic, Typeable)
1068{-| 'EsProtocolException' will be thrown if Bloodhound cannot parse a response
1068{-| 'EsProtocolException' will be thrown if Bloodhound cannot parse a response
1069−returned by the ElasticSearch server. If you encounter this error, please
1069+returned by the Elasticsearch server. If you encounter this error, please
1070verify that your domain data types and FromJSON instances are working properly
1070verify that your domain data types and FromJSON instances are working properly
1071(for example, the 'a' of '[Hit a]' in 'SearchResult.searchHits.hits'). If you're
1071(for example, the 'a' of '[Hit a]' in 'SearchResult.searchHits.hits'). If you're
1072sure that your mappings are correct, then this error may be an indication of an
1072sure that your mappings are correct, then this error may be an indication of an
1073−incompatibility between Bloodhound and ElasticSearch. Please open a bug report
1073+incompatibility between Bloodhound and Elasticsearch. Please open a bug report
1074and be sure to include the exception body.
1074and be sure to include the exception body.
1076data EsProtocolException = EsProtocolException { esProtoExBody :: L.ByteString }
1076data EsProtocolException = EsProtocolException { esProtoExBody :: L.ByteString }
@@ -4131,7 +4131,7 @@ newtype FullNodeId = FullNodeId { fullNodeId :: Text }
4133-- | A human-readable node name that is supplied by the user in the
4133-- | A human-readable node name that is supplied by the user in the
4134−-- node config or automatically generated by ElasticSearch.
4134+-- node config or automatically generated by Elasticsearch.
4135newtype NodeName = NodeName { nodeName :: Text }
4135newtype NodeName = NodeName { nodeName :: Text }
4136 deriving (Eq, Ord, Generic, Show, Typeable, FromJSON)
4136 deriving (Eq, Ord, Generic, Show, Typeable, FromJSON)
@@ -4406,7 +4406,7 @@ data NodeIndicesStats = NodeIndicesStats {
4406 , nodeIndicesStatsDocsCount :: Int
4406 , nodeIndicesStatsDocsCount :: Int
4407 } deriving (Eq, Show, Generic, Typeable)
4407 } deriving (Eq, Show, Generic, Typeable)
4409−-- | A quirky address format used throughout ElasticSearch. An example
4409+-- | A quirky address format used throughout Elasticsearch. An example
4410-- would be inet[/1.1.1.1:9200]. inet may be a placeholder for a
4410-- would be inet[/1.1.1.1:9200]. inet may be a placeholder for a
4411-- <https://en.wikipedia.org/wiki/Fully_qualified_domain_name FQDN>.
4411-- <https://en.wikipedia.org/wiki/Fully_qualified_domain_name FQDN>.
4412newtype EsAddress = EsAddress { esAddress :: Text }
4412newtype EsAddress = EsAddress { esAddress :: Text }
@@ -4600,7 +4600,7 @@ defaultSnapshotRepoUpdateSettings = SnapshotRepoUpdateSettings True
4602-- | A filesystem-based snapshot repo that ships with
4602-- | A filesystem-based snapshot repo that ships with
4603−-- ElasticSearch. This is an instance of 'SnapshotRepo' so it can be
4603+-- Elasticsearch. This is an instance of 'SnapshotRepo' so it can be
4604-- used with 'updateSnapshotRepo'
4604-- used with 'updateSnapshotRepo'
4605data FsSnapshotRepo = FsSnapshotRepo {
4605data FsSnapshotRepo = FsSnapshotRepo {
4606 fsrName :: SnapshotRepoName
4606 fsrName :: SnapshotRepoName
@@ -4845,7 +4845,7 @@ newtype RestoreRenamePattern = RestoreRenamePattern { rrPattern :: Text }
4846-- | A single token in a index renaming scheme for a restore. These
4846-- | A single token in a index renaming scheme for a restore. These
4847-- are concatenated into a string before being sent to
4847-- are concatenated into a string before being sent to
4848−-- ElasticSearch. Check out these Java
4848+-- Elasticsearch. Check out these Java
4849-- <https://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html docs> to find out more if you're into that sort of thing.
4849-- <https://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html docs> to find out more if you're into that sort of thing.
4850data RestoreRenameToken = RRTLit Text
4850data RestoreRenameToken = RRTLit Text
4851 -- ^ Just a literal string of characters
4851 -- ^ Just a literal string of characters