Store _all payloads on 1 byte instead of 4. #16899

This changes the `_all` field to store per-field boosts using a single byte
similarly to norms.
This commit is contained in:
Adrien Grand 2016-03-02 10:41:45 +01:00
parent 529f7cb42c
commit 2c3e4840f2
26 changed files with 64 additions and 8 deletions

View file

@ -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,