Skip to content

Commit f11a787

Browse files
committed
Fix a typo
1 parent d7613dd commit f11a787

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
@@ -24,6 +24,7 @@ class AccountsIndex < Chewy::Index
2424
analyzer: {
2525
natural: {
2626
tokenizer: 'kuromoji_user_dict',
27+
type: 'custom',
2728
char_filter: %w(
2829
icu_normalizer
2930
html_strip
@@ -37,7 +38,7 @@ class AccountsIndex < Chewy::Index
3738
english_possessive_stemmer
3839
english_stop
3940
english_stemmer
40-
kurojoji_stemmer
41+
kuromoji_stemmer
4142
kuromoji_number
4243
kuromoji_baseform
4344
icu_normalizer
@@ -64,7 +65,7 @@ class AccountsIndex < Chewy::Index
6465

6566
kuromoji_user_dict: {
6667
type: 'kuromoji_tokenizer',
67-
mode: 'search',
68+
mode: 'search',
6869
user_dictionary: 'userdic.txt',
6970
},
7071
},

app/chewy/public_statuses_index.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PublicStatusesIndex < Chewy::Index
2424
tokenizer: {
2525
kuromoji_user_dict: {
2626
type: 'kuromoji_tokenizer',
27-
mode: 'search',
27+
mode: 'search',
2828
user_dictionary: 'userdic.txt',
2929
},
3030
},
@@ -50,7 +50,7 @@ class PublicStatusesIndex < Chewy::Index
5050
english_possessive_stemmer
5151
english_stop
5252
english_stemmer
53-
kurojoji_stemmer
53+
kuromoji_stemmer
5454
kuromoji_number
5555
kuromoji_baseform
5656
icu_normalizer

app/chewy/statuses_index.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class StatusesIndex < Chewy::Index
2424
tokenizer: {
2525
kuromoji_user_dict: {
2626
type: 'kuromoji_tokenizer',
27-
mode: 'search',
27+
mode: 'search',
2828
user_dictionary: 'userdic.txt',
2929
},
3030
},
@@ -51,7 +51,7 @@ class StatusesIndex < Chewy::Index
5151
english_possessive_stemmer
5252
english_stop
5353
english_stemmer
54-
kurojoji_stemmer
54+
kuromoji_stemmer
5555
kuromoji_number
5656
kuromoji_baseform
5757
icu_normalizer

0 commit comments

Comments
 (0)