biothings / mygene.info

MyGene.info: A BioThings API for gene annotations

Home Page:http://mygene.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove deprecated `boost` parameter from the mapping

newgene opened this issue · comments

boost settings in the mapping (index time boosting) is deprecated, are removed in ES8. Field-level boosting should be specified at the query time.

https://www.elastic.co/guide/en/elasticsearch/reference/7.17/mapping-boost.html

An example from MyGene.info (there are other places too):

"name": {"type": "text",
"boost": 0.8, # downgrade name field a little bit
'copy_to': ['all'],},

We should remove these boost settings from the mapping in all MyGene.info data sources.