mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Mappings: Remove _boost field
This has been deprecated since 1.0.0.RC1. It is finally removed here. closes #8875
This commit is contained in:
parent
cc8f159a3c
commit
7181bbde26
22 changed files with 28 additions and 533 deletions
|
@ -181,7 +181,10 @@ def generate_index(client, version):
|
|||
},
|
||||
'_routing': {
|
||||
'path': 'myrouting'
|
||||
}
|
||||
},
|
||||
'_boost': {
|
||||
'null_value': 2.0
|
||||
}
|
||||
}
|
||||
mappings['custom_formats'] = {
|
||||
'properties': {
|
||||
|
@ -196,7 +199,6 @@ def generate_index(client, version):
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
client.indices.create(index='test', body={
|
||||
'settings': {
|
||||
'number_of_shards': 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue