Closed jerilevine closed 11 years ago
This request returns a SolrException:
http://bard.nih.gov/api/latest/search/compounds/?q=cat&filter=fq(mwt:%5B100+TO+200%5D),fq(mwt:%5B200+TO+300%5D),&skip=0&top=10&expand=true
I think this only happens for molecular properties such as MW and Tpsa, and it works if you specify only a single query term -- for instance, this works:
http://bard.nih.gov/api/latest/search/compounds/?q=cat&filter=fq(mwt:%5B100+TO+200%5D),&skip=0&top=10&expand=true
Fixed in straw
http://bard.nih.gov/api/straw/search/compounds/?q=cat&filter=fq(mwt:%5B100+TO+200%5D),fq(mwt:%5B200+TO+300%5D),&skip=0&top=10&expand=true
Thanks, Raj! It does work now in straw.
This request returns a SolrException:
http://bard.nih.gov/api/latest/search/compounds/?q=cat&filter=fq(mwt:%5B100+TO+200%5D),fq(mwt:%5B200+TO+300%5D),&skip=0&top=10&expand=true
I think this only happens for molecular properties such as MW and Tpsa, and it works if you specify only a single query term -- for instance, this works:
http://bard.nih.gov/api/latest/search/compounds/?q=cat&filter=fq(mwt:%5B100+TO+200%5D),&skip=0&top=10&expand=true