diff options
author | Daniel Pawlik <dpawlik@redhat.com> | 2022-09-12 09:31:01 +0200 |
---|---|---|
committer | Daniel Pawlik <dpawlik@redhat.com> | 2022-09-12 09:31:01 +0200 |
commit | fcca09289f548255e0a56f1490936dd7bc21928b (patch) | |
tree | 8a44ceb83465d213f6e69ab6581af9fc3f7bfab9 /zuul | |
parent | 5efc9bc0b2c6e14e2c4b85cb573b7650d7870536 (diff) | |
download | zuul-fcca09289f548255e0a56f1490936dd7bc21928b.tar.gz |
Change custom type field to default one
With the new Elasticsearch does not support custom field type [1].
[1] https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.html#_custom_type_field
Change-Id: I0b154da0a4736c6b7758f9936356d5b7097c35ad
Diffstat (limited to 'zuul')
-rw-r--r-- | zuul/driver/elasticsearch/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zuul/driver/elasticsearch/connection.py b/zuul/driver/elasticsearch/connection.py index eb696edf3..eda15089f 100644 --- a/zuul/driver/elasticsearch/connection.py +++ b/zuul/driver/elasticsearch/connection.py @@ -95,7 +95,7 @@ class ElasticsearchConnection(BaseConnection): def setIndex(self, index): settings = { 'mappings': { - 'zuul': { + '_doc': { "properties": self.properties } } |