RE: Disable Regular Expression Support

2014-07-03 Thread Markus Jelsma
Hi, you can escape the surrounding slashes in your front-end.
Markus

 
 
-Original message-
 From:Markus Schuch markus_sch...@web.de
 Sent: Thursday 3rd July 2014 20:53
 To: solr-user@lucene.apache.org
 Subject: Disable Regular Expression Support
 
 Hi Solr Community,
 
 we migrate from solr 1.4 to 4.3 and found out, that solr 4.x invented regular 
 expression support for the query parser.
 
 Is it possible to disable this feature to get back to the 1.4 behavior of the 
 query parser?
 
 Many thanks in advance,
 Markus Schuch


Disable Regular Expression Support

2014-07-03 Thread Markus Schuch
Hi Solr Community,

we migrate from solr 1.4 to 4.3 and found out, that solr 4.x invented regular 
expression support for the query parser.

Is it possible to disable this feature to get back to the 1.4 behavior of the 
query parser?

Many thanks in advance,
Markus Schuch


Re: Disable Regular Expression Support

2014-07-03 Thread Jack Krupansky

Unfortunately, not - the syntax is hard-wired into the grammar.

Feel free to file a Jira though. I would be in favor of having a query 
parser config option to disable features like regex and leading wildcard as 
well.


-- Jack Krupansky

-Original Message- 
From: Markus Schuch

Sent: Thursday, July 3, 2014 2:44 PM
To: solr-user@lucene.apache.org
Subject: Disable Regular Expression Support

Hi Solr Community,

we migrate from solr 1.4 to 4.3 and found out, that solr 4.x invented 
regular expression support for the query parser.


Is it possible to disable this feature to get back to the 1.4 behavior of 
the query parser?


Many thanks in advance,
Markus Schuch