lib/gummi/db_layer/index.rb in gummi-0.3.1 vs lib/gummi/db_layer/index.rb in gummi-0.3.2

- old
+ new

@@ -79,10 +79,10 @@ tokenizer: 'ngram_tokenizer', # Chopping every word up into tokens filter: { 0 => 'standard', # Some default transformations 1 => 'lowercase', # Make everything lowercase 2 => 'word_delimiter', # E.g. "O'Neil" -> "O Neil", "Victoria's" -> "Victoria" - 2 => 'asciifolding', # Transform everything into ASCII + 3 => 'asciifolding', # Transform everything into ASCII }, }, # For smaller texts, such as the city "stockholm", we don't want any # tokenizing. It's enough to explicitly save the word as it is.