ElasticSearch-(Re-)Indizierung funktioniert bei großen Workflows nicht
Reindexing Workflow...
rails aborted!
Searchkick::ImportError: {"type"=>"illegal_argument_exception", "reason"=>"Limit of total fields [1000] has been exceeded"} on item with id '272'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/indexer.rb:23:in `perform'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/logging.rb:126:in `perform'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/indexer.rb:11:in `queue'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/bulk_indexer.rb:43:in `bulk_index'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/index.rb:148:in `bulk_index'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/logging.rb:73:in `block in bulk_index'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/notifications.rb:203:in `block in instrument'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/notifications.rb:203:in `instrument'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/logging.rb:72:in `bulk_index'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/bulk_indexer.rb:77:in `block in import_or_update'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/bulk_indexer.rb:155:in `with_retries'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/bulk_indexer.rb:72:in `import_or_update'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/bulk_indexer.rb:33:in `block in import_scope'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/relation/batches.rb:138:in `block in find_in_batches'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/relation/batches.rb:245:in `block in in_batches'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/relation/batches.rb:229:in `loop'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/relation/batches.rb:229:in `in_batches'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/relation/batches.rb:137:in `find_in_batches'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/querying.rb:22:in `find_in_batches'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/bulk_indexer.rb:32:in `import_scope'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/index.rb:233:in `import_scope'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/index.rb:293:in `import_before_promotion'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/index.rb:323:in `reindex_scope'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/index.rb:221:in `reindex'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/searchkick/model.rb:64:in `searchkick_reindex'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/tasks/searchkick.rake:29:in `block (4 levels) in <main>'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/tasks/searchkick.rake:27:in `each'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/searchkick-4.6.1/lib/tasks/searchkick.rake:27:in `block (3 levels) in <main>'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/sentry-ruby-core-5.2.1/lib/sentry/rake.rb:26:in `execute'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/railties-6.1.6/lib/rails/commands/rake/rake_command.rb:24:in `block (2 levels) in perform'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/railties-6.1.6/lib/rails/commands/rake/rake_command.rb:24:in `block in perform'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/rake-13.0.6/lib/rake/rake_module.rb:59:in `with_application'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/railties-6.1.6/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/railties-6.1.6/lib/rails/command.rb:50:in `invoke'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/railties-6.1.6/lib/rails/commands.rb:18:in `<main>'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/bootsnap-1.9.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/bootsnap-1.9.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/bootsnap-1.9.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:100:in `register'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/bootsnap-1.9.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/app/webapp/vendor/ruby/ruby/3.0.0/gems/bootsnap-1.9.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
Tasks: TOP => searchkick:reindex:all
(See full trace by running task with --trace)
Edited by Benjamin Bock