[
https://issues.apache.org/jira/browse/SOLR-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Blum updated SOLR-8605:
-----------------------------
Affects Version/s: 5.3
5.3.1
5.4
5.4.1
Fix Version/s: (was: 5.3)
Trunk
Description: (was: It's often very useful to be able to put
comments in a large query string, or temporarily comment out part of a large
query string.
This feature adds C-style comments that may be nested.
Query Comments Example:
{code}
description:HDTV /* TODO: +promotion:tv +promotion_date:[NOW/DAY-7DAYS TO
NOW/DAY+1DAY] */
{code})
Component/s: query parsers
Issue Type: Bug (was: New Feature)
Introduced i SOLR-7220
Regular expression queries that start with an escaped forward-slash don't work
anymore.
{code}
Works: foo:/ab\/c/
Does not work: foo:/\/abc/
Work around, put the beginning slash in a character class: foo:/[\/]abc/
{code}
I have attached a patch to fix.
> Regular expressions starting with escaped forward slash are broken
> ------------------------------------------------------------------
>
> Key: SOLR-8605
> URL: https://issues.apache.org/jira/browse/SOLR-8605
> Project: Solr
> Issue Type: Bug
> Components: query parsers
> Affects Versions: 5.3, 5.3.1, 5.4, 5.4.1
> Reporter: Scott Blum
> Fix For: Trunk
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]