Commit df6c952ec1eafaaf149cba3f1081ce7c3304503b

Authored by Andrew Kane
1 parent 272f6469

Removed extra space

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/searchkick/reindex.rb
@@ -118,7 +118,7 @@ module Searchkick @@ -118,7 +118,7 @@ module Searchkick
118 # http://elasticsearch-users.115913.n3.nabble.com/synonym-multi-words-search-td4030811.html 118 # http://elasticsearch-users.115913.n3.nabble.com/synonym-multi-words-search-td4030811.html
119 # I find the following approach effective if you are doing multi-word synonyms (synonym phrases): 119 # I find the following approach effective if you are doing multi-word synonyms (synonym phrases):
120 # - Only apply the synonym expansion at index time 120 # - Only apply the synonym expansion at index time
121 - # - Don't have the synonym filter applied search 121 + # - Don't have the synonym filter applied search
122 # - Use directional synonyms where appropriate. You want to make sure that you're not injecting terms that are too general. 122 # - Use directional synonyms where appropriate. You want to make sure that you're not injecting terms that are too general.
123 settings[:analysis][:analyzer][:default_index][:filter].insert(4, "searchkick_synonym") 123 settings[:analysis][:analyzer][:default_index][:filter].insert(4, "searchkick_synonym")
124 settings[:analysis][:analyzer][:default_index][:filter] << "searchkick_synonym" 124 settings[:analysis][:analyzer][:default_index][:filter] << "searchkick_synonym"