lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: What is the full list of Solr Special Characters?
Date Tue, 08 Oct 2013 20:04:40 GMT
On 10/8/2013 3:01 AM, Furkan KAMACI wrote:
 > Actually I want to remove special characters and wont send them into my
 > Solr indexes. I mean user can send a special query as like a SQL 
 > and I want to prevent my system such kind of scenarios.

There is a newer javadoc than the *very* old one you are looking at:

When I compare that list to what's actually in the SolrJ 
"escapeQueryChars" method, it looks like that method does one additional 
character - the semicolon.

Just search the page for "escapeQueryChars" to see the java code.


View raw message