Skip to content

Commit

Permalink
Analyze seller nickname field in ArticlesIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Altmann committed Nov 9, 2015
1 parent 987988c commit 290bfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/chewy/articles_index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class ArticlesIndex < Chewy::Index
# seller attributes
field :belongs_to_legal_entity?, type: 'boolean'
field :seller_ngo, type: 'boolean'
field :seller_nickname, index: :not_analyzed
field :seller_nickname, analyzer: 'standard'
field :seller_id, index: :not_analyzed
end
end
Expand Down

0 comments on commit 290bfd9

Please sign in to comment.