Hi Team,
solr 6.5.1 on ubuntu 14.04:
strdist function gives error for comparison as below:
strdist(myfield,"google cloud","jw")
I am getting below error:
"error": {"metadata": ["error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.search.SyntaxError"],"msg":
"org.apache.solr.search.SyntaxError:
Missing end quote for string at pos 21 str='if(gt(strdist(myfield,\"google'"
,"code": 400}
I tried putting encoding(%20, +) for space, but no use. - like
strdist(myfield,"google%20cloud","jw")
Any way to do this?
Regards,
Govind