graveyard v0.2.1 Graveyard.Mappings View Source

Builds both mappings and settings into ElasticSearch

Link to this section Summary

Functions

Merges mappings and settings information and creates index and type in the ElasticSearch instance

Returns the mappings from the module indicated in config.exs

Returns the predefined settings

Link to this section Functions

Link to this function create_settings_and_mappings(opts \\ %{index: Support.index(), type: Support.type()}) View Source

Merges mappings and settings information and creates index and type in the ElasticSearch instance

Link to this function get_mappings(index_name \\ Support.index(), type_name \\ Support.type()) View Source

Returns the mappings from the module indicated in config.exs

Link to this function get_settings(index \\ Support.index()) View Source

Returns the predefined settings