public final class TermFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.index.Term |
newAncestorTerm(java.lang.String path) |
static org.apache.lucene.index.Term |
newFulltextTerm(java.lang.String ft) |
static org.apache.lucene.index.Term |
newFulltextTerm(java.lang.String ft,
java.lang.String field) |
static org.apache.lucene.index.Term |
newPathTerm(java.lang.String path)
Creates a Term with the given
path value and with a field
name FieldNames.PATH. |
public static org.apache.lucene.index.Term newPathTerm(java.lang.String path)
path value and with a field
name FieldNames.PATH.path - the path.public static org.apache.lucene.index.Term newFulltextTerm(java.lang.String ft,
java.lang.String field)
public static org.apache.lucene.index.Term newAncestorTerm(java.lang.String path)
public static org.apache.lucene.index.Term newFulltextTerm(java.lang.String ft)
Copyright © 2010 - 2023 Adobe. All Rights Reserved