graveyard v0.4.0 Graveyard.Mappings View Source

Builds both mappings and settings into ElasticSearch

Link to this section Summary

Functions

To be used when the mappings have changed. It ppdates the current mappings with the new one, maintaining all records within the index

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

Returns the mappings object processed from the configured mappings module or the configured map

Returns the predefined settings

Link to this section Functions

To be used when the mappings have changed. It ppdates the current mappings with the new one, maintaining all records within the index.

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 object processed from the configured mappings module or the configured map

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

Returns the predefined settings