mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
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:
parent
529f7cb42c
commit
2c3e4840f2
26 changed files with 64 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue