Change search indexing to use batches to minimize resource usage (#18451)
This commit is contained in:
parent
ded5a0254a
commit
679b7158e3
10 changed files with 64 additions and 19 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AccountsIndex < Chewy::Index
|
||||
settings index: { refresh_interval: '5m' }, analysis: {
|
||||
settings index: { refresh_interval: '30s' }, analysis: {
|
||||
analyzer: {
|
||||
content: {
|
||||
tokenizer: 'whitespace',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue