public class EscapeQuerySyntaxImpl extends java.lang.Object implements EscapeQuerySyntax
EscapeQuerySyntax for the standard lucene
syntax.EscapeQuerySyntax.Type| Constructor and Description |
|---|
EscapeQuerySyntaxImpl() |
| Modifier and Type | Method and Description |
|---|---|
static UnescapedCharSequence |
discardEscapeChar(java.lang.CharSequence input)
Returns a String where the escape char has been removed, or kept only once
if there was a double escape.
|
java.lang.CharSequence |
escape(java.lang.CharSequence text,
java.util.Locale locale,
EscapeQuerySyntax.Type type) |
public java.lang.CharSequence escape(java.lang.CharSequence text,
java.util.Locale locale,
EscapeQuerySyntax.Type type)
escape in interface EscapeQuerySyntaxtext - - text to be escapedlocale - - locale for the current querytype - - select the type of escape operation to usepublic static UnescapedCharSequence discardEscapeChar(java.lang.CharSequence input) throws ParseException
A to
A.ParseExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.