Module

Database.ElasticSearch.Indices.Create

#CreateIndexParams

type CreateIndexParams = (body :: Optional CreateIndexBody, include_type_name :: Optional Boolean, index :: String, master_timeout :: Optional String, timeout :: Optional String, wait_for_active_shards :: Optional String)

#CreateIndexBody

type CreateIndexBody = { aliases :: Optional (Object Alias), mappings :: Optional { properties :: Object Mapping }, settings :: Optional Settings }

#Alias

type Alias = { index_routing :: Optional String, is_hidden :: Optional Boolean, is_write_index :: Optional Boolean, routing :: Optional String, search_routing :: Optional String }

#Mapping

type Mapping = { index :: Optional Boolean, type :: DataType }

#Settings

type Settings = { number_of_replicas :: Optional Int, number_of_shards :: Optional Int }

#aliases

aliases :: forall a. Homogeneous a Alias => Record a -> Object Alias

#alias

#mappings

mappings :: forall a. Homogeneous a Mapping => Record a -> { properties :: Object Mapping }

#mapping

#settings

#createIndex

Modules