Skip to content

Commit

Permalink
The class props should be className (mastodon#27462)
Browse files Browse the repository at this point in the history
  • Loading branch information
renchap authored and ttrace committed Dec 12, 2023
1 parent 90371a4 commit 65d9763
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/chewy/accounts_index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ class AccountsIndex < Chewy::Index

analyzer: {
natural: {
tokenizer: 'standard',
char_filter:[

Check failure on line 26 in app/chewy/accounts_index.rb

View workflow job for this annotation

GitHub Actions / lint

[Correctable] Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.

Check failure on line 26 in app/chewy/accounts_index.rb

View workflow job for this annotation

GitHub Actions / lint

[Correctable] Layout/SpaceAfterColon: Space missing after colon. (https://rubystyle.guide#spaces-operators)
"icu_normalizer"

Check failure on line 27 in app/chewy/accounts_index.rb

View workflow job for this annotation

GitHub Actions / lint

[Correctable] Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)

Check failure on line 27 in app/chewy/accounts_index.rb

View workflow job for this annotation

GitHub Actions / lint

[Correctable] Style/TrailingCommaInArrayLiteral: Put a comma after the last item of a multiline array. (https://rubystyle.guide#no-trailing-array-commas)
],
tokenizer: 'kuromoji_tokenizer',
filter: %w(
lowercase
asciifolding
Expand Down
2 changes: 1 addition & 1 deletion app/chewy/statuses_index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class StatusesIndex < Chewy::Index
},

content: {
tokenizer: 'standard',
tokenizer: 'kuromoji_tokenizer',
filter: %w(
lowercase
asciifolding
Expand Down

0 comments on commit 65d9763

Please sign in to comment.