Apache Lucene.Net 2.4.0 Class Library API

QueryParser.Escape Method 

Returns a String where those characters that QueryParser expects to be escaped are escaped by a preceding

\
.

public static string Escape(
   string s
);

See Also

QueryParser Class | Lucene.Net.QueryParsers Namespace