The Solr doc simply says:

"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."

See:
http://wiki.apache.org/solr/SolrQuerySyntax

The Lucene doc adds a tiny bit:

Regular Expression Searches

Lucene supports regular expression searches matching a pattern between forward slashes "/". The syntax may change across releases, but the current supported syntax is documented in the RegExp class. For example to find documents containing "moat" or "boat":

/[mb]oat/

See:
http://lucene.apache.org/core/4_1_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Regexp_Searches

-- Jack Krupansky

-----Original Message----- From: Arun Rangarajan
Sent: Wednesday, February 27, 2013 12:02 PM
To: solr-user@lucene.apache.org
Subject: Solr regex search wiki page

Dear Solr Gurus,

Thanks for your wonderful wiki pages. Can you also please add another nice
wiki page for the Solr regex search and post the link on the main Solr wiki
page?

Thanks.

Reply via email to