Class FullTextParser
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.query.fulltext.FullTextParser
-
public class FullTextParser extends java.lang.Object
A parser for fulltext condition literals. The grammar is defined in the JCR 2.0 specification, 6.7.19 FullTextSearch, as follows (a bit simplified):FullTextSearchLiteral ::= Disjunct {' OR ' Disjunct} Disjunct ::= Term {' ' Term} Term ::= ['-'] SimpleTerm SimpleTerm ::= Word | '"' Word {' ' Word} '"'
-
-
Constructor Summary
Constructors Constructor Description FullTextParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FullTextExpression
parse(java.lang.String propertyName, java.lang.String text)
-
-
-
Method Detail
-
parse
public static FullTextExpression parse(java.lang.String propertyName, java.lang.String text) throws java.text.ParseException
- Throws:
java.text.ParseException
-
-