Class TermFactory
java.lang.Object
org.apache.jackrabbit.oak.plugins.index.lucene.TermFactory
A factory for Lucene Term instances with frequently used field names.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TermnewAncestorTerm(String path) static Termstatic TermnewFulltextTerm(String ft, String field) static TermnewPathTerm(String path) Creates a Term with the givenpathvalue and with a field nameFieldNames.PATH.
-
Method Details
-
newPathTerm
Creates a Term with the givenpathvalue and with a field nameFieldNames.PATH.- Parameters:
path- the path.- Returns:
- the path term.
-
newFulltextTerm
-
newAncestorTerm
-
newFulltextTerm
-