diff options
Diffstat (limited to 'dev-tools')
-rw-r--r-- | dev-tools/create_bwc_index.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-tools/create_bwc_index.py b/dev-tools/create_bwc_index.py index da3aa6c8f4..c8ade7f866 100644 --- a/dev-tools/create_bwc_index.py +++ b/dev-tools/create_bwc_index.py @@ -247,6 +247,15 @@ def generate_index(client, version, index_name): } } + mappings['doc'] = { + 'properties': { + 'string': { + 'type': 'string', + 'boost': 4 + } + } + } + settings = { 'number_of_shards': 1, 'number_of_replicas': 0, |