public final class TermFactory extends Object
TermFactory is a factory for Term instances with
frequently used field names.| Constructor and Description |
|---|
TermFactory() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.index.Term |
createUUIDTerm(String id)
Creates a Term with the given
id value and with a field
name FieldNames.UUID. |
public static org.apache.lucene.index.Term createUUIDTerm(String id)
id value and with a field
name FieldNames.UUID.id - the id.Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.