Skip to content

Instantly share code, notes, and snippets.

@mrcasals mrcasals/seeds.rb
Created Jan 10, 2013

Embed
What would you like to do?
@index = Tire::Index.new("my_custom_index")
@index.delete
@index.create :settings => {
:index => {
:analysis => {
:analyzer => {
:default => {
type: "snowball",
:language => 'Catalan'
}
}
}
}
}
# This is from Elastictastic: https://github.com/brewster/elastictastic
Product.sync_mapping
Business.sync_mapping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.