Created
January 10, 2013 10:47
-
-
Save mrcasals/4501187 to your computer and use it in GitHub Desktop.
Revisions
-
mrcasals created this gist
Jan 10, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ @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