public class RavenQuery extends Object
Constructor and Description |
---|
RavenQuery() |
Modifier and Type | Method and Description |
---|---|
static String |
escape(String term)
Escapes Lucene operators and quotes phrases
|
static String |
escape(String term,
boolean allowWildcards,
boolean makePhrase)
Escapes Lucene operators and quotes phrases
http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#Escaping%20Special%20Characters
|
static String |
escapeField(String field)
Escapes Lucene field
|
public static String escape(String term)
term
- public static String escape(String term, boolean allowWildcards, boolean makePhrase)
term
- allowWildcards
- makePhrase
- Copyright © 2016. All Rights Reserved.