biothings / biothings.species

This implements species API as part of BioThings API
Apache License 2.0
0 stars 3 forks source link

index other_names field #13

Open newgene opened 11 months ago

newgene commented 11 months ago

Currently, other_names field is not indexed, so we cannot query for it (e.g. q=other_names:"alcaligenes eutrophus" return no hit). We should index it similar to other name fields (common_name and scientific_name):

"scientific_name": {
"index": true,
"searched_by_default": true,
"type": "text"
},