Class TermFactory

  • public final class TermFactory
    extends Object
    TermFactory is a factory for Term instances with frequently used field names.
    • Constructor Detail

      • TermFactory

        public TermFactory()
    • Method Detail

      • createUUIDTerm

        public static org.apache.lucene.index.Term createUUIDTerm​(String id)
        Creates a Term with the given id value and with a field name FieldNames.UUID.
        id - the id.
        the UUIDTerm.