Class: Octo::Setup::Update

Inherits:
Object
  • Object
show all
Defined in:
lib/octocore-mongo/search/setup.rb

Overview

Updates the indices.

The major differene between this and the Create is that while create
just checks for the existance by name, and passes if the name is found
This actually overwrites all the mappings, properties, warmers etc
So, this should be used only when we need to explicitly "UPDATE" the
index.