Closed cmdcolin closed 5 years ago
@cmdcolin the default wildcard query searches only against three "text" based fields: symbol, name and summary, assuming that is a one (certainly not all) common use case for wildcard queries. However, you can always make wildcard queries for any indexed fields using "fielded queries":
http://mygene.info/v3/query?q=ensembl.gene:ENSG00000249*
If you are using MyGene.info API for autocompletion on a web-app, you may find our "user queries" very powerful and flexible for your customized query need:
https://github.com/biothings/mygene.info/issues/4#issuecomment-273294532
Thanks, that looks awesome. For demo purposes, just being able to search on name/symbol/description is great. I will see if possible if I can design a user query and let you know!
Is there any reason why something like
http://mygene.info/v3/query?q=ENSG00000249077*
Returns empty (in fact no auto completes are available http://mygene.info/v3/query?q=ENSG000002490*)
But this does http://mygene.info/v3/query?q=ENSG00000249077
I am just wondering how my client should handle something like this.. it seems little hard to search for both things and combine results.