Solr Query not parsing forward slash

前端 未结 3 1616
悲哀的现实
悲哀的现实 2020-12-11 02:46

Is the forward slash \"/\" a reserved character in solr field names?

I\'m having trouble writing a solr sort query which will parse for fields containing a forward s

3条回答
  •  温柔的废话
    2020-12-11 03:13

    From the solr wiki at https://wiki.apache.org/solr/SolrQuerySyntax :

    Solr 4.0 added regular expression support, which means that '/' is now a special character and must be escaped if searching for literal forward slash.

提交回复
热议问题