Class 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} '"'