Struct rs_es::operations::mapping::MappingOperation [] [src]

pub struct MappingOperation<'a, 'b> {
    // some fields omitted

An indexing operation


impl<'a, 'b> MappingOperation<'a, 'b>

Set the actual mapping

Set the settings

If settings have been provided, the index will be created with them. If the index already exists, an Err(EsError) will be returned. If mapping have been set too, the properties will be applied. The index will be unavailable during this process. Nothing will be done if either mapping and settings are not present.