Class TermFactory
- java.lang.Object
 - 
- org.apache.jackrabbit.oak.plugins.index.lucene.TermFactory
 
 
- 
public final class TermFactory extends java.lang.ObjectA factory for Lucene Term instances with frequently used field names. 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TermnewAncestorTerm(java.lang.String path)static TermnewFulltextTerm(java.lang.String ft)static TermnewFulltextTerm(java.lang.String ft, java.lang.String field)static TermnewPathTerm(java.lang.String path)Creates a Term with the givenpathvalue and with a field nameFieldNames.PATH. 
 - 
 
- 
- 
Method Detail
- 
newPathTerm
public static Term newPathTerm(java.lang.String path)
Creates a Term with the givenpathvalue and with a field nameFieldNames.PATH.- Parameters:
 path- the path.- Returns:
 - the path term.
 
 
- 
newFulltextTerm
public static Term newFulltextTerm(java.lang.String ft, java.lang.String field)
 
- 
newAncestorTerm
public static Term newAncestorTerm(java.lang.String path)
 
- 
newFulltextTerm
public static Term newFulltextTerm(java.lang.String ft)
 
 - 
 
 -