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