flaxsearch / BioSolr

A project aiming "to significantly advance the state of the art with regard to indexing and querying biomedical data with freely available open source software"
Apache License 2.0
77 stars 26 forks source link

FASTA: Added support for QUEUED response from jobdispatcher #47

Closed sreenathnair closed 1 year ago

sreenathnair commented 1 year ago

Hi, We identified an issue in the PDBe sequence search due to recent changes in EBI webservice where there is an additional QUEUED 200 response. Below is the error stack trace. This PR is to fix this issue.

"msg":"Unexpected FASTA job status: QUEUED", "trace":"java.lang.RuntimeException: Unexpected FASTA job status: QUEUED\n\tat uk.co.flax.biosolr.pdbe.fasta.FastaXJoinResultsFactory.getResults(FastaXJoinResultsFactory.java:145)\n\tat org.apache.solr.search.xjoin.XJoinSearchComponent.prepare(XJoinSearchComponent.java:115)\n\tat org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:269)\n\tat