Skip to content

Commit

Permalink
Issue toptal#595: Disable doc_values on the stash for a large index
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgrig committed Oct 29, 2017
1 parent 24ff103 commit 5321cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chewy/stash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Stash < Chewy::Index
define_type :specification do
default_import_options journal: false

field :value, index: 'no'
field :value, index: 'no', doc_values: false
end

define_type :journal do # rubocop:disable Metrics/BlockLength
Expand Down

0 comments on commit 5321cf0

Please sign in to comment.