Show us the exact search you’re using, both the failure and success case 
please. Most likely you need to escape things like the colon…

Best,
Erick

> On Apr 8, 2019, at 8:19 AM, Anil <anilk...@gmail.com> wrote:
> 
> Hi Team,
> 
> Good Morning.
> 
> I am storing url in string field. wild card search is giving following
> error.
> 
> "error":{
> 
>    "metadata":[
> 
>      "error-class","org.apache.solr.common.SolrException",
> 
>      "root-error-class","org.apache.solr.parser.ParseException"],
> 
>    "msg":"org.apache.solr.search.SyntaxError: Cannot parse 'url:
> https://facebook.com/posts/123456': Encountered \" \":\" \": \"\" at line
> 1, column 15.\nWas expecting one of:\n    <EOF> \n    <AND> ...\n    <OR>
> ...\n    <NOT> ...\n    \"+\" ...\n    \"-\" ...\n    <BAREOPER> ...\n
> \"(\" ...\n    \"*\" ...\n    \"^\" ...\n    <QUOTED> ...\n    <TERM>
> ...\n    <FUZZY_SLOP> ...\n    <PREFIXTERM> ...\n    <WILDTERM> ...\n
> <REGEXPTERM> ...\n    \"[\" ...\n    \"{\" ...\n    <LPARAMS> ...\n
> \"filter(\" ...\n    <NUMBER> ...\n    ",
> 
>    "code":400}}
> 
> 
> only exact match on url field is working.
> 
> 
> Thanks,
> 
> Anil

Reply via email to