Class FullTextParser
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.query.fulltext.FullTextParser
-
public class FullTextParser extends 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 Detail
-
parse
public static FullTextExpression parse(String propertyName, String text) throws ParseException
- Throws:
ParseException
-
-