Closed newgene closed 2 years ago
boost settings in the mapping (index time boosting) is deprecated, are removed in ES8. Field-level boosting should be specified at the query time.
boost
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/mapping-boost.html
An example from MyGene.info (there are other places too):
https://github.com/biothings/mygene.info/blob/e94ea4597319c259a0c31e799be267d560d79f22/src/hub/dataload/sources/ensembl/gene_upload.py#L34-L36
We should remove these boost settings from the mapping in all MyGene.info data sources.
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):
https://github.com/biothings/mygene.info/blob/e94ea4597319c259a0c31e799be267d560d79f22/src/hub/dataload/sources/ensembl/gene_upload.py#L34-L36
We should remove these boost settings from the mapping in all MyGene.info data sources.