Open andrewsu opened 5 years ago
http://mygene.info/v3/gene/ENSG00000123374.10 and http://mygene.info/v3/query?q=ENSG00000123374.10 return no hits, while http://mygene.info/v3/gene/ENSG00000123374 and http://mygene.info/v3/query?q=ENSG00000123374 return the expected result.
Most people will not be searching versioned accession numbers (I don't think), but if this is an easy enhancement then perhaps worth implementing...
IIRC we did a similar thing with refseq ID, it might be easy to do using a specific ES analyzer (path)
http://mygene.info/v3/gene/ENSG00000123374.10 and http://mygene.info/v3/query?q=ENSG00000123374.10 return no hits, while http://mygene.info/v3/gene/ENSG00000123374 and http://mygene.info/v3/query?q=ENSG00000123374 return the expected result.
Most people will not be searching versioned accession numbers (I don't think), but if this is an easy enhancement then perhaps worth implementing...