Open flaneuse opened 2 years ago
name
Can't return partial searches for names, e.g. https://api.outbreak.info/resources/query?q=name:Macaque&fields=name vs https://api.outbreak.info/resources/query?q=name:*Macaque*&fields=name
Need to change ES mapping at: https://github.com/outbreak-info/outbreak.info-resources/blob/master/outbreak_resources_es_mapping.json
Change
name
from keyword to text; adjust other keywords to textCan't return partial searches for names, e.g. https://api.outbreak.info/resources/query?q=name:Macaque&fields=name vs https://api.outbreak.info/resources/query?q=name:*Macaque*&fields=name
Adjust dateModified, etc. to date type
Need to change ES mapping at: https://github.com/outbreak-info/outbreak.info-resources/blob/master/outbreak_resources_es_mapping.json