public final class TermFactory extends Object
TermFactory is a factory for Term instances with
frequently used field names.| Modifier and Type | Method and Description |
|---|---|
static Term |
newAncestorTerm(String path) |
static Term |
newFulltextTerm(String ft) |
static Term |
newFulltextTerm(String ft,
String field) |
static Term |
newPathTerm(String path)
Creates a Term with the given
path value and with a field
name FieldNames.PATH. |
public static Term newPathTerm(String path)
path value and with a field
name FieldNames.PATH.path - the path.public static Term newAncestorTerm(String path)
public static Term newFulltextTerm(String ft)
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"