Skip to content

Commit 9057716

Browse files
committed
Fix a typo
1 parent 9c767f5 commit 9057716

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

app/chewy/accounts_index.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class AccountsIndex < Chewy::Index
2222
analyzer: {
2323
natural: {
2424
tokenizer: 'kuromoji_user_dict',
25+
type: 'custom',
2526
char_filter: %w(
2627
icu_normalizer
2728
html_strip
@@ -35,7 +36,7 @@ class AccountsIndex < Chewy::Index
3536
english_possessive_stemmer
3637
english_stop
3738
english_stemmer
38-
kurojoji_stemmer
39+
kuromoji_stemmer
3940
kuromoji_number
4041
kuromoji_baseform
4142
icu_normalizer
@@ -62,7 +63,7 @@ class AccountsIndex < Chewy::Index
6263

6364
kuromoji_user_dict: {
6465
type: 'kuromoji_tokenizer',
65-
mode: 'search',
66+
mode: 'search',
6667
user_dictionary: 'userdic.txt',
6768
},
6869
},

app/chewy/public_statuses_index.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class PublicStatusesIndex < Chewy::Index
2222
tokenizer: {
2323
kuromoji_user_dict: {
2424
type: 'kuromoji_tokenizer',
25-
mode: 'search',
25+
mode: 'search',
2626
user_dictionary: 'userdic.txt',
2727
},
2828
},
@@ -48,7 +48,7 @@ class PublicStatusesIndex < Chewy::Index
4848
english_possessive_stemmer
4949
english_stop
5050
english_stemmer
51-
kurojoji_stemmer
51+
kuromoji_stemmer
5252
kuromoji_number
5353
kuromoji_baseform
5454
icu_normalizer

app/chewy/statuses_index.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class StatusesIndex < Chewy::Index
2222
tokenizer: {
2323
kuromoji_user_dict: {
2424
type: 'kuromoji_tokenizer',
25-
mode: 'search',
25+
mode: 'search',
2626
user_dictionary: 'userdic.txt',
2727
},
2828
},
@@ -49,7 +49,7 @@ class StatusesIndex < Chewy::Index
4949
english_possessive_stemmer
5050
english_stop
5151
english_stemmer
52-
kurojoji_stemmer
52+
kuromoji_stemmer
5353
kuromoji_number
5454
kuromoji_baseform
5555
icu_normalizer

0 commit comments

Comments
 (0)