Skip to content

Commit

Permalink
write quotes in a different way
Browse files Browse the repository at this point in the history
  • Loading branch information
vedina committed Sep 13, 2024
1 parent 2ed3958 commit cdd104f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rcapi/services/convertor_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def knnquery(domain,dataset="raw"):
async def solr2image(solr_url,domain,figsize=(6,4),extraprm=None):
rs = None
try:
query="textValue_s:\"{}\"".format(domain.replace(" ","\ "))
query="textValue_s:{}{}{}".format('"',domain,'"')
params = {"q": query, "fq" : ["type_s:study"], "fl" : "name_s,textValue_s,reference_s,reference_owner_s,{}".format(SOLR_VECTOR)}
rs = await solr_query_get(solr_url, params)
if rs.status_code==200:
Expand Down

0 comments on commit cdd104f

Please sign in to comment.