Add Elasticsearch cluster health check and indexes mismatch check to dashboard (#26448)
This commit is contained in:
parent
9ed0c91a37
commit
ac0eb0533e
4 changed files with 105 additions and 7 deletions
|
@ -6,7 +6,7 @@ class InstancesIndex < Chewy::Index
|
|||
index_scope ::Instance.searchable
|
||||
|
||||
root date_detection: false do
|
||||
field :domain, type: 'text', index_prefixes: { min_chars: 1 }
|
||||
field :domain, type: 'text', index_prefixes: { min_chars: 1, max_chars: 5 }
|
||||
field :accounts_count, type: 'long'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue